Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I access ASP.NET Development server in an intranet?

Tags:

asp.net

Im testing an ASP.NEt site. When I execute it, it starts the ASP.NET Development Server and opens up a page.

Now I want to test it in the intranet I have.

  1. Can I use this server or I need to configure IIS in this machine?

  2. Do I need to configure something for it to work?

I've changed the localhost to the correct IP and I opened up the firewall.

Thanks

like image 987
Artur Carvalho Avatar asked Aug 20 '08 21:08

Artur Carvalho


People also ask

What is asp net development server?

The ASP.NET Development Server is an alternative web server option for the development environment; it ships with and is integrated into Visual Studio.

Which server is used in asp net?

ASP.NET Core ships with Kestrel server, which is the default, cross-platform HTTP server. ASP.NET Core ships with Kestrel server, which is the default, cross-platform HTTP server.

Is ASP built on IIS?

ASP.NET Core applications are standalone Console applications invoked through the dotnet runtime command. They are not loaded into an IIS worker process, but rather loaded through a native IIS module called AspNetCoreModule that executes the external Console application.


1 Answers

Yes you can! And you don't need IIS

Just use a simple Java TCP tunnel. Download this Java app & just tunnel the traffic back. http://jcbserver.uwaterloo.ca/cs436/software/tgui/tcpTunnelGUI.shtml

In command prompt, you'd then run the java app like this... Let's assume you want external access on port 80 and your standard debug environment runs on port 1088...

java -jar tunnel.jar 80 localhost 1088 

(Also answered here: Accessing asp. net development server external to VM)

like image 68
strongriley Avatar answered Sep 21 '22 23:09

strongriley