You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
`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
The text was updated successfully, but these errors were encountered: