使用Visual Studio时正在使用端口80 [英] Port 80 in use while using Visual studio
本文介绍了使用Visual Studio时正在使用端口80的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的Visual Studio遇到问题,当我尝试将我的应用程序连接到远程服务器并且运行该应用程序时,我得到无法连接Visual Studio开发,因为端口80正在使用中".
谢谢
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
推荐答案
您似乎有两个不同的进程试图在同一端口上列出,这是不可能的.
通常,您应该始终查看IANA端口分配,并确保自定义应用程序未在知名或注册端口上列出,除非您尝试在服务器站点上实施某些知名协议.
查看此表: http://www.iana.org /assignments/service-names-port-numbers/service-names-port-numbers.xml [
因此,查看所有可能侦听端口80并消除冲突的软件:停止HTTP服务器,如果您拥有一个,更改配置中的端口号或诸如此类.
要找到目的,您可能要使用端口扫描器,请参阅 http://en.wikipedia .org/wiki/Port_scanner [ ^ ].
—SA
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
这篇关于使用Visual Studio时正在使用端口80的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文