Access localhost on port 81 from different computer

I'm a developer and web set up is not my strong suit.

I'm trying to run two different apps on my local computer using IIS.

I hosted one of them on port 80 and the other one on port 81.

I also made a few changes in my hosts file to be able to access apps by different adress:

  • 127.0.0.1 mes.operator (this one is set up on port 81)
  • 127.0.0.1 mes.manager (this one is set up on port 80)

Now I can access the app running on port 80 by adresses: mes.manager or localhost or from another computer by ip adress of computer that is hosting the app.

But the other app is only available on adress: mes.manager:81

I thought this will also be available on localhost:81 but it is not. What am I missing ?

The main goal is to be able to access mes.manager from another computer but if I can't even do that by localhost:81 than the ip-of-localComputer:81 also wont work.

5

1 Answer

Head into the IIS Manager, click the port 81 site check the site's current Bindings to ensure it's bound on the right port, to all addresses that you want it to answer on.

Example screenshot of editing the bindings:

enter image description here

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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

You Might Also Like