8

I want to access to my local host from another computer on the network ! I used my pc's IP and created a inbound rule for my port on windows firewall.

this is my local host address: localhost:2523/StartUpPage.aspx I use my host system's IP 192.168.0.101 so when I use 192.168.0.101:2523/StartUpPage.aspx i get the HTTP 400 bad request hostname Error

Note: my system works on the local computer with no problem!

How can I solve this problem?

Thanks in Advance!

6
  • What web server are you using? IIS Express? IIS? Cassini? Sep 25, 2013 at 10:54
  • @JoachimIsaksson I run it on Visual studio which is set to use IIS Express! in other words it runs on IIS Express
    – Poorya
    Sep 25, 2013 at 11:25
  • Then you may be looking for this link. Sep 25, 2013 at 12:09
  • @JoachimIsaksson thanks for the link it solve the 400 Error but it gave me 503 error on remote machine so i used this to solve it and now i can access the webapp from both sides only for few seconds and than IIS stops working and visual studio pops up with Unable to lunch IIS express web server error
    – Poorya
    Sep 25, 2013 at 13:37
  • I had similar problem. Have you seen this solution ? [Connecting to Visual Studio debugging IIS Express server over the lan - stack overflow][1] [1]: stackoverflow.com/questions/14725455/…
    – user1261625
    Sep 6, 2014 at 17:35

0

Your Answer

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

Browse other questions tagged or ask your own question.