当前位置:编程学习 > JAVA >>

Eclipse里启动服务器出现这个错误怎么解决啊 谢谢

URL:http://127.0.0.1:80
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.Socket.connect(Socket.java:524)
at java.net.Socket.connect(Socket.java:474)
at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:523)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
at sun.net.www.http.HttpClient.New(HttpClient.java:304)
at sun.net.www.http.HttpClient.New(HttpClient.java:321)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient

(HttpURLConnection.java:839)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect

(HttpURLConnection.java:791)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:716)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream

(HttpURLConnection.java:883)
at nc.starter.test.JStarter.getMyAppletStub(JStarter.java:247)
at nc.starter.test.JStarter.StartNC(JStarter.java:121)
at nc.starter.test.JStarter.main(JStarter.java:389)
--------------------编程问答-------------------- 检查80端口是否被占用,数据库tcp连接是否打开等。 --------------------编程问答--------------------
补充:Java ,  Eclipse
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,