I am trying to run an ASP.NET MVC project on the development server, and then access it externally. I have set the port to be 8010 each time the development server runs.
Currently, it works fine if I go to http://localhost:8010. However, if I try to access it from a different computer on the network, via http://128.11.53.104:8010 (where the middle bit is my computer's IP address), then it gives me the error: HTTP Error 400. The request hostname is invalid.
What do I need to do such that the development server can be accessed externally? Thanks.
We made a free VS Extension to enable this, called Conveyor.
https://marketplace.visualstudio.com/items?itemName=vs-publisher-1448185.ConveyorbyKeyoti
It doesn't modify any config files like some solutions.
The ASP.NET Dev Server will not accept connections issued by other computers because of security reason. I have had faced this kind of situation in the past and as a solution i have found This link.
Which tell us to use “Trace Utility”. Just check out that link. For other alternative solution, please check this SO Link and check the answer given by Jon Galloway.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With