Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hosts file

Status
Not open for further replies.

JDU

Technical User
Dec 23, 2002
182
US
Is there any way to specify a port number in the hosts file.
This is what I am trying to do.

We have a router with port forwarding set up.
RDP on one port goes to one server
RDP on another port goes to another server

I want to be able to put the IP addresses in the hosts file but don't know how to address the ports issue.

eg. public address:1111 goes to one server
public address:2222 goes to another server

How can I solve the ports issue? Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top