« Previous Next »

Thread: The host file format for ports?..

Last post 06-23-2009 10:45 AM by VcDeveloper. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 06-12-2009, 11:55 AM

    The host file format for ports?..

    What is the format for port addressing.  I need to direct all browser's to port 8080 of my server in my intranet.

    Coding is like a box of chocolates!...
  • 06-14-2009, 9:35 PM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 4:18 AM
    • Shanghai, PRC
    • Posts 1,390

    Re: The host file format for ports?..

    HOSTS file serves as a "local" DNS server. So it follows general DNS rules, and no port mapping is supported. Yes, that's a rough answer, but it is TRUE.

    I guess you hosted a web site on port 8080 of a server. Why not host it on port 80? If you have other web sites on port 80, it is easy to use host headers to distinguise them.

    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 06-23-2009, 10:45 AM In reply to

    Re: The host file format for ports?..

    Thanks for the reply!  My ISP is blocking port 80 so I had to have my NO-IP service configured to re-direct to port 8080.

    ...and I thought I may have to do the same with the my host file, but found out I didn't need too.

    Coding is like a box of chocolates!...
Page 1 of 1 (3 items)
Microsoft Communities