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

ConnectionRefusedError: [Errno 111] Connection refused #8

Closed
Neznacomets opened this issue Jun 22, 2020 · 1 comment
Closed

ConnectionRefusedError: [Errno 111] Connection refused #8

Neznacomets opened this issue Jun 22, 2020 · 1 comment

Comments

@Neznacomets
Copy link

`from mcipc.rcon import Client

with Client(...) as client:
client.login(...)
print(client.seed)
client.run('day')`

Traceback (most recent call last):
File "/home/RnCraft/test.py", line 4, in
with Client('95.216.62.176', 29675) as client:
File "/home/RnCraft/.local/lib/python3.8/site-packages/mcipc/common.py", line 23, in enter
self.connect()
File "/home/RnCraft/.local/lib/python3.8/site-packages/mcipc/common.py", line 39, in connect
return self._socket.connect(self.socket)
ConnectionRefusedError: [Errno 111] Connection refused

@conqp
Copy link
Owner

conqp commented Jun 23, 2020

From what I can tell by the sparse information you provided, the server refuses the connection.
This does not indicate that there is an issue with mcipc but rather with your server / firewall configuration.

@conqp conqp closed this as completed Jun 23, 2020
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