How do I change the listening IP?

Post Reply
King's Dedede
New member
Posts: 1
Joined: Sat Mar 09, 2019 18:42
GitHub: whatisluasname
IRC: Testyyx
In-game: Mine_Testyyy

How do I change the listening IP?

by King's Dedede » Post

Me and my friends are hosting a server. My friend keeps port forwarding but the listening IP is still 0.0.0.0, the local IP. Any ideas???

sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: How do I change the listening IP?

by sofar » Post

0.0.0.0 is always the listening IP, and it has special meaning: it means "listen and accept incoming connections from all origins". If you are properly port forwarding to the server, then everything is OK.

sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: How do I change the listening IP?

by sofar » Post

BTW, 0.0.0.0 is not the local IP. Your local IP is probably something like 192.168.1.25. Is your friend hosting the server, or are you? The port forwarding needs to be configured on the router of the person that is hosting the server. The forwarding needs to forward to the local IP address of the machine that the minetest server runs on. You can use `ipconfig /all` in windows cmd.exe to see the IP address if it's a windows machine. On Linux it's `ip a`.

Post Reply

Who is online

Users browsing this forum: No registered users and 42 guests