How do you change the port to which the webbserver IIS 7 is listening for incoming traffic to whatever portnumber?
1 Answer
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):
-
Ok, great but can you set it sortof "globally" serverwide and not just sitewide?– Chris_45Commented 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.– user1931Commented 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_45Commented 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.– user1931Commented Nov 20, 2009 at 12:45