How to access the application from another computer running on localhost

Asked

Viewed 7,349 times

3

I have a web application made in ASP.NET MVC 5, and gave a start in Visual Studio 2013, the address of the Index page was like this on the machine where it is running: http://localhost:51144/.

How do I get another computer on the network to access my application?

1 answer

4

If you have the IIS (Internet Information Servces) installed on your machine, you can host your application as a website there. Other network computers can access it using http://<nome do seu computador>/Nomedosite.

To test whether IIS is installed open your browser and go to http://localhost. Testando se o IIS está instalado

If you don’t have IIS installed, see how to enable it on this link: http://msdn.microsoft.com/pt-br/library/ms181052(v=vs.80). aspx

To learn how to create a website on IIS take a look at this link: http://msdn.microsoft.com/pt-br/library/tcywfea7(v=vs.80). aspx

Another option is you publish your application directly through Visual Studio, see this article with a step by step: http://www.dotnetfunda.com/articles/show/2596/learn-iis-host-and-publish-in-mvc5-using-visual-studio-2013-rc

Browser other questions tagged

You are not signed in. Login or sign up in order to post.