The Localhost of visual studio doesn't show up when I have WAMP server installed. How do you make it work?

StackOverflow https://stackoverflow.com/questions/479469

  •  20-08-2019
  •  | 
  •  

Question

I've first installed the WAMP server on my system. It used http://localhost to show my files in the www directory.

But then I installed visual studio 2008. It too uses the http://localhost/ But it doesn't show up. What should I do?

Was it helpful?

Solution

I assume you mean IIS? Cassini (the build in "debugging" webserver) uses high ports when you fire an app up. Either way you need to configure either WAMP or IIS to listen on a port other than port 80, then you can access one on http://localhost/ and one on http://localhost:MYPORT/.

OTHER TIPS

VS uses it's own development server, and usually VS starts his own server in debug mode, and there isn't a common server executable. Since VS needs to start it's own server in debug mode to test .NET driven applications, it can't show your WAMP applications because it usually runs in other port. Also, you can't run PHP applications under VS.

Try looking at server connection that the browser brings you at the application URL.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top