How can my friend connect to my docker-compose based server, if he is outside of my local network? #3294
-
Hello guys, i made a custom docker compose file based on this image and server works fine if i go from my localhost. But if my friend tries to connect using my public ip he becomes an error "getsockopt". Need i make a vpn tunnel for him, or there is an another solution? Sorry guys, i'm bad at networking so, i dont fully undersrand what to do. Anyways, thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It's no different for docker than any other Minecraft server deployment, so look through search results https://www.google.com/search?q=How+do+I+host+a+public+Minecraft+server+from+home Mainly it's a matter of setting up TCP port forwarding of port 25565 in your internet router. Target/internal IP address/host will be for the machine running docker. |
Beta Was this translation helpful? Give feedback.
It's no different for docker than any other Minecraft server deployment, so look through search results
https://www.google.com/search?q=How+do+I+host+a+public+Minecraft+server+from+home
Mainly it's a matter of setting up TCP port forwarding of port 25565 in your internet router. Target/internal IP address/host will be for the machine running docker.