Java sockets - java.net.ConnectException: Connection refused: connect

前端 未结 2 906
抹茶落季
抹茶落季 2021-01-16 21:19

I\'ve created a simple chat program which communicates using sockets. Everything works fine when I\'m running it on localhost. However, the problems occur when I try to link

2条回答
  •  耶瑟儿~
    2021-01-16 21:57

    Have a look at the answers to: java.net.ConnectException: Connection refused

    My first suspicion however would be a firewall issue.....

提交回复
热议问题