stanford-osrl icon indicating copy to clipboard operation
stanford-osrl copied to clipboard

cannot connect to ('127.0.0.1', 20099)

Open JunningHuang opened this issue 7 years ago • 1 comments

Hi, Qin.

I replace RunEnv with gym's Walker2d environment. But cause the error below: (farmer) cannot connect to ('127.0.0.1', 20099): [Errno 111] Connection refused (farmer) fp.acq() failed on 127.0.0.1:20099

How to fixed this bug?

JunningHuang avatar Dec 28 '17 03:12 JunningHuang

you mean RunEnv worked, but Walker2d didn't?

Usually, a connection refused error is due to:

  • Your firewall not letting connection to port 20099 thru
  • Your account running the script does not have the privilege to start a connection
  • You did not start the slave script (farm.py) as per README
  • Or, you started the slave, but it cannot listen on port 20099 due to privilege or firewall settings

ctmakro avatar Dec 28 '17 15:12 ctmakro