When I launch Pocketmine, the ip it lists as attempting to host to is always 0.0.0.0:19132 Because it's not correctly hosting internally, I am unable to connect at all, be it from inside the same network, or via port forwarding. I am farmilliar with my computers ip so if I can tell it where to host it in a config file, that would work, but I can find no such config file. Any help would be massively appreciated.
It should just make the server available on your computer's local IP automatically. What kind of device are you running the game, and trying to connect to the server from?
Try to verify your computer‘s ip: On linux use: ip addr show (or simply ip addr) On windows use netstat Then try to connect to that ip from your other device in the same network
I'm not sure if i'm relating anything here or not, this will help you if you're using Windows 10 to connect and also hosting on the same computer. https://pmmp.readthedocs.io/en/rtfd/faq/connecting/win10localhostcantconnect.html?highlight=windows Run that and it'll work. I do this every time i change my computer or format it. If you are connecting to a local server for the first time, this might be it.
To clarify, I have gotten the same issue hosting on both linux and windows 10, the device I've tried connecting with was an ipad on the same network, and I am sure that I had the correct IP address to connect to. My question is I guess why does it use 0.0.0.0, instead of my actual IP (Which it had previously) and if like HimbersaaftLP said where it is every address available, why can I not connect to it from the iPad on the same network?
You should be able to connect even on your iPad (same network) even if the IP is 0.0.0.0. I'm not really sure why it's kinda odd here.
I have a plugin alternative if you wish. But read the comments first. It will explain the downside to it.
But he wanted to connect from his internal network: That's normal, my server does that too, and I can connect to it just fine, it will display the ip address which was set in server.properties, if that is 0.0.0.0 it means that the server is running on all IP addresses your pc has.
As everyone has pointed out, having 0.0.0.0 as the IP is normal; I'd take a closer look at your firewalls on the machines and router to check that 19132 is open for TCP and UDP.
Windows is known for blocking network passing through. I had this issue with my new AntiVirus - Avast
I have no issues with Avast blocking any network or anything... So unfortunately, I'm gonna have to say that's invalid.
It's a software, it can always change the way it works on different computers. I'm using Avast Premier. That's all I can say but maybe you need to search the internet before saying anything. https://forum.avast.com/index.php?topic=194359.0
Thanks so much for all the replies, it ended up being a really stupid mistake on my end, not related to the ip in the slightest. Everythings up and running great now, thanks a million.
I set up a dual boot on my computer so that I could run PMMP on linux, everything ran fine, except I was still attempting to connect to the windows boot IP. When I switched back to windows and it connected just fine, it didn't take long to realize how stupid I had been.