Ok I have connected to my own, it's a random world, works perfectly, the console works also, I can op myself, see when I'm only, I've ran a 'run.bat' so that the console can use more of my ram, everything seems to be fine. however I can't connect to my server, except by "Localhost" via direct connect. My friends, and even myself when I use the same network and router as the one hosting the server, can't conenct through using *insert public ip*:25565. I've got the latest JAVA and this is my server info;
When I try to connect through ip:25565 is loads saying connecting to server, then comes up with the message "java.net.connectionexception: Connection timed out:no further information:"
and when I try to input a server ip to try connecting to the server like a public server, the console closes itself after running a second.
the only problems I can think of is I have set up more port right, or my firewall blocks off people, but I think the latter is incorrect because, if so, why would it block me when I try to conenct via ip:25565 on the same computer and network as the hosting? The former I want to investigate last because it requires me to do a lot of **** fighting around.
if I left out any information, please tell me and I'll answer you as soon as possible, thank you for reading this question
Take the 192.168.0.7 out of server-ip. Leave that blank, it's only to be used when you need to bind to a specific IP in a multihomed situation. I'm not clear when you say you connect with "ip:25565" what IP you mean. If it's the public one, yea, that won't work. When you connect to the PC, you must use the internal IP (localhost if on same box or the 192 IP if not). For your friends, they need to use whatever your public IP is. You cannot use the public IP internally. If your friends are using the public one and it isn't working, check your port forwarding or firewall.