Bad Request - Invalid Hostname ASP.NET MVC4

mys3lf

New Member
I've got an ASP.NET MVC 4 application, which I can browse locally\[code\]http://localhost:portnr/SomeController\[/code\]When I try to browse it from another computer in the same network, or just by local ip, I get "Bad Request - Invalid Hostname"\[code\]http://192.168.0.x:portnr/SomeController\[/code\]I dont get the same error if I specify an invalid portnr, so I guess the error message is from asp.net itself.I'm trying to browse the site from my IPhone.What should I do to make this work?
 
Back
Top