Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am getting problem with my visual studio ,when i try to connect my application to the remote server and ill run the application i get " unable to connect visual studio developement because port 80 in use "
Thanks
Posted

1 solution

It looks like you have two different processes trying to listed on the same port, which is impossible.

Generally, you should always look at IANA port assignments and makes sure that a custom application does not listed on a well-known or registered port unless you are trying to implement some well-known protocol on the server site.

Look at this table: http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml[^].

The port 80 is reserved for HTTP. I don't think Visual Studio runs anything on this port (except your application). When you use Visual Studio for ASP.NET or other Web development, during your application run-tome it starts a special "development Web server" on a different port, which is done to avoid disrupting the services using well-known ports. You might have overridden the default, I don't know.

So, review all software which might listen to the port 80 and eliminate the conflict: stop HTTP server is you have one, change port number in configuration or something like that.

To find the ends, you may want to use a port scanner, please see http://en.wikipedia.org/wiki/Port_scanner[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900