How to change listening port on webbserver IIS 7?

8

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

Chris_45

Posted 2009-11-19T13:11:42.123

Reputation: 1 397

1Server related questions (such as this one) would find better answers from ServerFault.com – Josh Hunt – 2009-11-19T13:20:34.007

Answers

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

John T

Posted 2009-11-19T13:11:42.123

Reputation: 149 037

Ok, great but can you set it sortof "globally" serverwide and not just sitewide? – Chris_45 – 2009-11-19T18:51:08.433

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. – John T – 2009-11-19T19:58:54.910

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 – 2009-11-20T08:51:04.640

Apache listens on port 80 by default, just change your site to use 8080 in IIS and you're good to go. – John T – 2009-11-20T12:45:58.253