Problem scenario
You deployed Apache Mesos. The web UI is having problems. You see the error "Failed to connect to x.x.x.x:5050." What should you do?
Solution
- Go to the back-end of the Apache Mesos server. Run this command:
sudo systemctl stop mesos-master
sudo find / -name mesos-master.sh
- Change directory into the parent of the "bin" directory that houses the mesos-master.sh as found above.
- Find the internal IP adress (e.g., with
ip addr show | grep eth0 | grep inet
). - Run this command but substitute x.x.x.x with the internal IP address:
sudo ./bin/mesos-master.sh --ip=x.x.x.x --work_dir=/var/lib/mesos --hostname=x.x.x.x
6. Go back to your web browser. Refresh your web browser.