Opening nav client from server.

ZookiZooki Member Posts: 18
edited 2005-08-01 in Navision Attain
Hi,

I have two navision servers running. One is a live server and the other a test server.

Opening a session from a client:

to connect to the live i can access the server by using the nav server name in services.exe in the database open field. For the test server i have to use IP address:port number. eg 192.168.x.x:xxxx.

What do i have to do to get this to open by the database server name and not the ip.

Can i rename or redo the batch file to create the service again :?:
and i guess modify the host and services files.

Anyone got the batch file to run? or whats needed.

Thanks

Nic
Nic Beer
Navision Administrator
IKEA Perth Pty Ltd

Comments

  • tinkytinky Member Posts: 1
    You can use windows system files c:\%winroot%\system32\drivers\etc\hosts and services in the same location. There you can map servername to user specified location and port, let's say you want to use "testserver" to conect to your test server which is located on 192.168.0.1 at port 5000, so you add
    192.168.0.1 testserver ----this in hosts
    testserver 5000/tcp ----this in services.


    now when you run navision you type testserver in servername filed, and it connects you to 192.168.0.1:5000
  • ZookiZooki Member Posts: 18
    Thanks for the quick reply.

    i will try this out tomorrow.

    Does the service name also effect this?

    cheers
    Nic Beer
    Navision Administrator
    IKEA Perth Pty Ltd
  • kinekine Member Posts: 12,562
    Yes, the service name must be the same as used i services file...

    for example service must be named testserver in previous example from tinky...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.