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

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

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

  • Ok, great but can you set it sortof "globally" serverwide and not just sitewide?
    – Chris_45
    Nov 19 '09 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.
    – John T
    Nov 19 '09 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
    Nov 20 '09 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.
    – John T
    Nov 20 '09 at 12:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.