1
I picked up VPS and installed multicraft. Things work great until I restarted the server. When i restart the server I get an error.
Can't connect to Minecraft bridge! (111: Connection refused)
According to the Multicraft FAQ
I found a temporary fix on another forum by using this command in my console
/home/minecraft/multicraft/bin/multicraft -v start
After running this command it says something along the lines of the daemon service has started and everything works again.
It looks like the daemon isnt starting up the server start up. Any clue on how I can fix this problem correctly?
Can't connect to Minecraft bridge! (111: Connection refused)
According to the Multicraft FAQ
Click to reveal
Can't connect to Minecraft bridge! (110/111: Connection refused/timed out)
Please check the following:
The daemon is running
Check the Multicraft status under "Settings"->"Multicraft Status", the IP and Port shown there have to match the IP/Port the daemon listens on
You can connect to the daemon from the machine running the front end by running "telnet IP PORT", where where IP and PORT are the values you use in the config file.
The daemon is not blocked by any firewall
Your panel machine can connect to the daemon machine. This requires PHP to be able to open outgoing TCP connections using "pfsockopen". If the panel is hosted with a hosting provider please contact them to check if this is possible.
Some explanation on the "ip" setting in "multicraft.conf":
The "ip" setting specifies which interface the daemon will listen on, the "externalIp" setting specifies which IP the control panel will try to connect to. If "ip" is set to "127.0.0.1" only a control panel on the same machine can connect to the daemon. To listen on all interfaces you can set "ip" to "0.0.0.0", however, you will have to set "externalIp" when you do that so the control panel knows where to connect.
Please check the following:
The daemon is running
Check the Multicraft status under "Settings"->"Multicraft Status", the IP and Port shown there have to match the IP/Port the daemon listens on
You can connect to the daemon from the machine running the front end by running "telnet IP PORT", where where IP and PORT are the values you use in the config file.
The daemon is not blocked by any firewall
Your panel machine can connect to the daemon machine. This requires PHP to be able to open outgoing TCP connections using "pfsockopen". If the panel is hosted with a hosting provider please contact them to check if this is possible.
Some explanation on the "ip" setting in "multicraft.conf":
The "ip" setting specifies which interface the daemon will listen on, the "externalIp" setting specifies which IP the control panel will try to connect to. If "ip" is set to "127.0.0.1" only a control panel on the same machine can connect to the daemon. To listen on all interfaces you can set "ip" to "0.0.0.0", however, you will have to set "externalIp" when you do that so the control panel knows where to connect.
I found a temporary fix on another forum by using this command in my console
/home/minecraft/multicraft/bin/multicraft -v start
After running this command it says something along the lines of the daemon service has started and everything works again.
It looks like the daemon isnt starting up the server start up. Any clue on how I can fix this problem correctly?
2
It shouldn't be a problem unless you are repeatedly restarting your entire vps, which isn't really recommended in the first place.
If you want to learn how to add it on boot, read more on update-rc.d
If you want to learn how to add it on boot, read more on update-rc.d
man update-rc.dThanks I will take a look at that.
