Setting up Minecraft Server: No External Connection?

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
WhiteHusky

Setting up Minecraft Server: No External Connection?

Post by WhiteHusky »

This is an issue I'm having, I have reserved my computer under the local address 192.168.1.5 instead of static because it proves to be a pain in the long run.
I'm trying to connect using the default port, this case 25565 and I have set the DMZ server to my computer, even made a port rule too to no avail. xhost is off so that's not the issue and the firewall is also off, so I'm pretty confused on why I can't connect using the external IP nor get a port response using a web service, this case http://www.canyouseeme.org/

Regards, White Husky
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
grimdestripador
Level 6
Level 6
Posts: 1051
Joined: Fri Feb 16, 2007 2:26 am

Re: Setting up Minecraft Server: No External Connection?

Post by grimdestripador »

I have a minecraft server. I just port fwd 25565 to my computer from the router. I use java -jar minecraft.jar to execuite. I think you might have it set up correctly, its just you might not be able to see your minecraft server using your DNS, and may need to 192.168.1.5:25565 in minecraft client instead of <your external IP>. Of course others would need to connect to your external IP.
WhiteHusky

Re: Setting up Minecraft Server: No External Connection?

Post by WhiteHusky »

grimdestripador wrote:I have a minecraft server. I just port fwd 25565 to my computer from the router. I use java -jar minecraft.jar to execuite. I think you might have it set up correctly, its just you might not be able to see your minecraft server using your DNS, and may need to 192.168.1.5:25565 in minecraft client instead of <your external IP>. Of course others would need to connect to your external IP.
So...I can't simply connect because I'm using the external IP on the same system? Well, I've used the port checker before when this was not a problem and it was able to check the port correctly, so that's my concern.
psylent

Re: Setting up Minecraft Server: No External Connection?

Post by psylent »

in the config file (server.properties) make sure there is NOT an IP entered, that way it binds to all addresses. If you assign an IP then it seems to have issues.

Also make sure your PC is selected in the router as either DMZ or port forwarded (default port 25565).

The command I use to run the server is :

sudo java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
User avatar
grimdestripador
Level 6
Level 6
Posts: 1051
Joined: Fri Feb 16, 2007 2:26 am

Re: Setting up Minecraft Server: No External Connection?

Post by grimdestripador »

I wrote a tutorial for how my minecraft server is installed.
http://community.linuxmint.com/tutorial/view/1285
Locked

Return to “Beginner Questions”