windows - Change Localhost to ip with port -
i trying setup development server in house. our ip points our live server have seperate servers set on different ports.
for example our testing server on:
external: 97.95.xxx.xxx:1234 internal: 192.168.0.100:1234
we can view test server entering either ip in our browsers. want change our development computers access server entering "testserver". have logged in , edited
c:\windows\system32\drivers\etc\hosts
we have added following line of code systems no success.
97.95.xxx.xxx:1234 testserver
if remove port number connect our live system. there system need edit use port?
when add port, hosts edit wrong.
according example hosts entry must like
97.95.xxx.xxx testserver
and accessing testsystem f.e.
http://testserver:1234
or
telnet testserver 1234
whatever connectiontype / purpose connection is.
Comments
Post a Comment