ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There are many potential causes to the error: Failed to connect to server, rc: -1. Error: 'Connection refused' (errno: 111)

My issue was accidentally using the Teach Pendant's (TP) IP Address while overwriting the Controller's IP as that of my Linux machine.

Suggested Steps for connecting to controller using a direct computer-to-controller connection.

  • Check the Controller (host) IP address and Subnet mask of your controller under System Info>Network
  • Check the Teach Pendants IP address and Subnet mask
  • Setup your computer's network connection as a static IP address. Select a DIFFERENT IP address than that of the Controller and Teach Pendant.
  • Be sure to use the SAME SUBNET MASK as the controller!! This is often 255.255.255.0

    If you are new to using TCP/IP... I would suggest reading this article by Microscoft. https://support.microsoft.com/en-us/help/164015/understanding-tcp-ip-addressing-and-subnetting-basics

  • There are many potential causes to the error: Failed to connect to server, rc: -1. Error: 'Connection refused' (errno: 111)

    My issue was accidentally using the Teach Pendant's (TP) IP Address while overwriting the Controller's IP as that of my Linux machine.

    Suggested Steps Steps for connecting to controller using a direct computer-to-controller connection.

  • connection:
    -
    Check the Controller (host) IP address and Subnet mask of your controller under System Info>Network

  • -
    Check the Teach Pendants IP address and Subnet mask

  • -
    Setup your computer's network connection as a static IP address. Select a DIFFERENT IP address than that of the Controller and Teach Pendant.

  • -
    Be sure to use the SAME SUBNET MASK as the controller!! This is often 255.255.255.0

    The Yaskawa Motoman FS100 Controller has the following defaults:
    Controller IP: 10.0.0.2
    Teach Pendant IP: 10.0.0.4
    Subnet Mask: 255.255.255.0

    If you are new to using TCP/IP... I would suggest reading this article by Microscoft. https://support.microsoft.com/en-us/help/164015/understanding-tcp-ip-addressing-and-subnetting-basics

  • Microscoft.