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

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -