0
$\begingroup$

Gazebo Answers logo

I am newbie to gazebo and gzweb. What I am doing is to connect multiple users to different sessions of gzweb on my computer. Once a user logged in with their account, system will login to their account on terminal and create a gazebo platform with gzweb. I can run multiple gzweb instances on different ports with different hostnames but, all of them connects to one instance of gzserver. I tried exporting GAZEBO_MASTER_URI variable to different hostnames and ports according to gzweb's host and port. gzserver starts multiple times while users are different but never connects to gzweb or vice versa. Any help would be appreciated.


Originally posted by alicanuzunn on Gazebo Answers with karma: 13 on 2017-09-07

Post score: 1

$\endgroup$

1 Answer 1

0
$\begingroup$

Gazebo Answers logo

gzweb's websocket server's address is currently hardcoded to 7681 so you'll probably need to manually change it to a differnt port for each gzweb you run. Here's the port number on server side, and you'll need to update the client side too.


Originally posted by iche033 with karma: 1018 on 2017-09-07

This answer was ACCEPTED on the original site

Post score: 2


Original comments

Comment by alicanuzunn on 2017-09-08:
thank you, I just made it according to your answer, in addition, I changed the gz3d.js's port too.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.