Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

服务器搭建失败 #1

Open
RozaliyaOlenyeva opened this issue Dec 20, 2020 · 2 comments
Open

服务器搭建失败 #1

RozaliyaOlenyeva opened this issue Dec 20, 2020 · 2 comments

Comments

@RozaliyaOlenyeva
Copy link

我按照您说的修改了dbcpconfig.properties 配置文件
但是客户端Client()仍然无法正常启动 显示如下信息:
java.net.ConnectException: Connection refused: connect
at java.base/sun.nio.ch.Net.connect0(Native Method)
at java.base/sun.nio.ch.Net.connect(Net.java:493)
at java.base/sun.nio.ch.Net.connect(Net.java:482)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:588)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:339)
at java.base/java.net.Socket.connect(Socket.java:603)
at java.base/java.net.Socket.connect(Socket.java:552)
at java.base/java.net.Socket.(Socket.java:475)
at java.base/java.net.Socket.(Socket.java:249)
at test.Client.main(Client.java:16)

Process finished with exit code 0
求解

@chenyongzhe
Copy link
Owner

你先确认一下app登录时登录页面的ip地址是不是你服务器ip,然后确认你的安卓手机或者安卓虚拟机和你的服务器能不能ping 通。

@RozaliyaOlenyeva
Copy link
Author

RozaliyaOlenyeva commented Dec 20, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants