Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

ip addres is only 0.0.0.0.0 not set when starting server in ros

Discussion in 'Robotics' started by emiyashirou1531, May 17, 2022.

  1. emiyashirou1531

    emiyashirou1531

    Joined:
    Feb 3, 2022
    Posts:
    1
    hello i have a problem when i type this command in terminal "rosrun ros_tcp_endpoint default_server_endpoint.py"

    i get "[INFO] [1652779573.140884]: Starting server on 0.0.0.0:10000" but i set my ip address to 192.168.1.101

    why do i get 0.0.0.0 instead of 192.168.1.101

    can you help please thank you
     
  2. LaurieUnity

    LaurieUnity

    Unity Technologies

    Joined:
    Oct 23, 2020
    Posts:
    77
    On a server, 0.0.0.0 just means "accept any incoming connection", so this should be fine.
    If you really care about it, you can set the ip in your command line: "rosrun ros_tcp_endpoint default_server_endpoint.py ~tcp_ip:=192.168.1.101"