How to access from another computer the application running on localhost

1

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

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

    
asked by anonymous 18.06.2014 / 14:44

2 answers

3

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

To test if IIS is installed open the browser and go to http://localhost .

IfyoudonothaveIISinstalled,here'showtoenableit: link

To learn how to create a website in IIS, take a look at this link: link

Another option is you publish your application directly through Visual Studio , see this article with a step-by-step guide: link

    
18.06.2014 / 14:52
1

Hello, take a look at this link here have several people discussing the subject:

Development Server LocalHost

They say it is not good practice, but it is possible if you release some ports.

    
18.06.2014 / 14:52