Arqade Asked on March 27, 2021
I wanted to change my Minecraft server’s port number from the default, so I updated the server-port
property to the port I wanted in the server.properties
file.
Once I restarted the server, I could see that the port had changed.
Now I want the client to use the new port number, but there is no field to specify a non-default port number. So for the server address I am entering xxx.xxx.xxx.xxx:yyyy
, where yyyy
is the new port number, but the client does not connect.
How can I tell the Minecraft client to use the port number I want?
This is assuming that you are attempting to access the server from outside your LAN (e.g. the IP isn't 192.168.x.x).
1) Port Forwarding - If you haven't port forwarded, do so. Without port forwarding, you'll only be able to access it from within your LAN. To do so, go into your router's admin interface and forward the port that you're going to use to the same port - and specify it to be forwarded to the server's internal IP, assuming it's on the same network. If this doesn't work, but you can ping the machine from an external network (e.g. ping xxx.xxx.xxx.xxx from the cmd on a windows machine), there may be a problem with the server's firewall.
2) Using ports that are reserved by other services - Usually on *NIX systems (and many more!) if you try and run the server under a certain port, it may not let you unless you have the relevant access rights. The first 1024 ports, in particular, are reserved for system stuff. If you're using any port under that, there's your problem. Change it, and it may work.
3) Firewall Problems - Make sure you've port forwarded first. Then, depending on what OS the server is running on, you'll need to allow the communication from someone not on your network for the specific port that you're going to be using for the server. By default, not all ports are open on certain machines and are blocked by a firewall for security reasons. There are plenty of guides for whatever OS you're using, just find one of those. If you're running in some Linux environment, it's probably "iptables" that's blocking those ports.
Correct answer by arcticnacho on March 27, 2021
You should be able to access the port of your minecraft server the same place you port forwarded. Just change 25565 - 25565 to be what you would like it to be.
Answered by 132ikl on March 27, 2021
Sounds like you need to port forward on your router. Go into your router's admin, port forwarding, and forward port 25566 (let's say it's 25566) to 25566 on the LAN computer on which your server is running. So you would specify something like 192.168.1.2 for that computer in the port forward config. You're basically telling the router which computer on your LAN to send these packets to for incoming traffic specifying that port.
If you have two routers in succession, you must port forward on both. From the first router to the second, then from the second router to the computer in question.
Answered by fred on March 27, 2021
you tell your friends to enteer your servers address as aaa.bbb.ccc.ddd:xxxxx where abcd is your ip, and xxxxx is your new port# they have to enter a colon after the ip but before the port
Answered by Phil Fischer on March 27, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP