Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.

stem.socketerror: connection refused #32

Closed
maumau35 opened this issue Jan 17, 2018 · 2 comments
Closed

stem.socketerror: connection refused #32

maumau35 opened this issue Jan 17, 2018 · 2 comments

Comments

@maumau35
Copy link

You fixed the first thing, but with that this came up.
Traceback (most recent call last):
File "faitagram", line 25, in
controller = Controller.from_port(port=9051)
File "/usr/local/lib/python2.7/dist-packages/stem/control.py", line 1026, in from_port
control_port = stem.socket.ControlPort(address, port)
File "/usr/local/lib/python2.7/dist-packages/stem/socket.py", line 376, in init
self.connect()
File "/usr/local/lib/python2.7/dist-packages/stem/socket.py", line 247, in connect
self._socket = self._make_socket()
File "/usr/local/lib/python2.7/dist-packages/stem/socket.py", line 405, in _make_socket
raise stem.SocketError(exc)
stem.SocketError: [Errno 111] Connection refused

There is something wrong with the ports. it should be 9051 and 9050, and it is 9051 and 9050 so think there is and error in the code

@complexpotato
Copy link
Owner

I actually did not figure out this.... Well, after I figure out this problem it will work PERFECTLY. The duplicate of this question is hshehab's question, go to that. #13

@complexpotato
Copy link
Owner

This is an issue, so I should not technically close it, but there is a same issue, lets go there and talk about it.

@complexpotato complexpotato added this to Done in Add-Proxy Jan 18, 2018
@complexpotato complexpotato moved this from Done to In progress in Add-Proxy Jan 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Add-Proxy
  
In progress
Development

No branches or pull requests

2 participants