How do I change the listening IP?

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 » Sat Mar 09, 2019 18:45

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: 2077
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: How do I change the listening IP?

by sofar » Sat Mar 09, 2019 19:14

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: 2077
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: How do I change the listening IP?

by sofar » Sat Mar 09, 2019 19:16

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`.
 


Return to Servers



Who is online

Users browsing this forum: crazyR, MSN [Bot] and 11 guests

cron