Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> import beanstalkc
- >>> ben = beanstalkc.Connection(host='127.0.0.1', port=11300)
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- File "/Library/Python/2.7/site-packages/beanstalkc.py", line 59, in __init__
- self.connect()
- File "/Library/Python/2.7/site-packages/beanstalkc.py", line 65, in connect
- SocketError.wrap(self._socket.connect, (self.host, self.port))
- File "/Library/Python/2.7/site-packages/beanstalkc.py", line 43, in wrap
- raise SocketError(err)
- beanstalkc.SocketError: [Errno 61] Connection refused
- beanstalkd -l localhost -p 11300
- netstat -an | grep 11300
- tcp6 0 0 ::1.11300 *.* LISTEN
- lsof -i:11300
- COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
- beanstalk 25420 fang 5u IPv6 0x3a0d6f5fe28b3a33 0t0 TCP localhost:11300 (LISTEN)
- Python 25441 fang 3u IPv4 0x3a0d6f5ff01e9343 0t0 TCP localhost:64519->localhost:11300 (CLOSED)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement