简体   繁体   中英

RuntimeError: ALBroker::createBroker Cannot connect to tcp://100.82.32.131:9559

Im trying to run this code in NAO with python from naoqi import ALProxy tts = ALProxy("ALTextToSpeech", "100.82.32.131", 9559) tts.say("Hello, world!")

and i get RuntimeError: ALBroker::createBroker Cannot connect to tcp://100.82.32.131:9559

why i cant connect it?

Im trying to run this code in NAO with python from naoqi import ALProxy tts = ALProxy("ALTextToSpeech", "100.82.32.131", 9559) tts.say("Hello, world!")

and i get RuntimeError: ALBroker::createBroker Cannot connect to tcp://100.82.32.131:9559

why i cant connect it?

There can be plenty of reasons for this failure:

  • The robot is not at this IP address
  • The computer is not on the same.network as the robot
  • Some firewall prevents your program to connect
  • NAOqi is not running

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM