8

How do you change the port to which the webbserver IIS 7 is listening for incoming traffic to whatever portnumber?

1
  • 1
    Server related questions (such as this one) would find better answers from ServerFault.com
    – Josh Hunt
    Commented Nov 19, 2009 at 13:20

1 Answer 1

10

Right click on your site in the left pane, and go to Edit Bindings. There you can add and remove ports which are bound to your site (ports it will respond on):

alt text

4
  • Ok, great but can you set it sortof "globally" serverwide and not just sitewide?
    – Chris_45
    Commented Nov 19, 2009 at 18:51
  • You can set the default website to respond on any port you want which will respond to any requests not handled by other sites, if that's what you mean.
    – user1931
    Commented Nov 19, 2009 at 19:58
  • Allright the thing is that I am tinkering with Apache and would like to have Apache listen to port 80 and IIS to 8080.
    – Chris_45
    Commented Nov 20, 2009 at 8:51
  • Apache listens on port 80 by default, just change your site to use 8080 in IIS and you're good to go.
    – user1931
    Commented Nov 20, 2009 at 12:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .