Seting up a minecraft server [duplicate]
I'm trying to setup a minecraft server: server is on ubuntu comp, client on windows comp.
1) On my.public.ip.adress I can't play: java.net.connectException: connection refused: no further information:80.80.80.80:25565
2) On 192.168.1.40(similar server's IP) it works, can play on LAN
So problem must be port forwarding:
3) tried the 25565 but also tried with another one.
4) on router i've set: NAT/virtualServers/add ----> 25565,25565,TCP/UDP,25565,25565,192.168.1.40 also NAT/Port Triggering ----> 25565,25565,TPC/UDP,25565,25565.
5) at canyouseeme.org it CAN see my service at 80.80.80.80:25565, it's visible.
6) at server's config file set: online mode:true/false both don't work
7) server's logs don't show any attempt of connection, problem must be on the router side.
halp! U_U
EDIT: window's firewall desactivated. still don't work
Best Answer
Routers, as a general rule, do not allow local loop-back of connections, or martian packets as they are sometimes known. This is for valid network security reasons and the number of routers that make this optional are in the minority, and even if yours is one of them enabling it just to play a game is something I would strongly recommend against.
Connect to your server from the local network IP address (typically along the lines of 192.168.X.X). Have your friends connect using the public IP address.
Pictures about "Seting up a minecraft server [duplicate]"
![Seting up a minecraft server [duplicate] - Electrician Fixing an Opened Switchboard Seting up a minecraft server [duplicate] - Electrician Fixing an Opened Switchboard](/assets/images/seting_up_a_minecraft_server_duplicate_1.jpeg)
![Seting up a minecraft server [duplicate] - Cables Connected to Ethernet Ports Seting up a minecraft server [duplicate] - Cables Connected to Ethernet Ports](/assets/images/seting_up_a_minecraft_server_duplicate_2.jpeg)
![Seting up a minecraft server [duplicate] - Close Up Photo of Cables Plugged into the Server Seting up a minecraft server [duplicate] - Close Up Photo of Cables Plugged into the Server](/assets/images/seting_up_a_minecraft_server_duplicate_3.jpeg)
Can you duplicate a Minecraft server?
You can't copy part, only your whole server. Also, it needs to be your server. Otherwise, not possible.How do you make a Minecraft 2 server?
Open Minecraft and go into the \u201cMultiplayer\u201d tab. Towards the bottom, click on \u201cAdd Server\u201d. Put any name under \u201cServer Name\u201d and then enter the server IP address and port, then press \u201cDone\u201d. After pressing done, this will take you back to the multiplayer tab, you should see the server now listed.How do I make my own server on Minecraft?
How to Create a Minecraft Server on Windows, Mac, or Linux SystemsHow do I Portforward a Minecraft server?
How to Port Forward Minecraft?Minecraft 1.19+ - ALL WORKING DUPLICATION GLITCHES TUTORIAL! XBOX,PE,WINDOWS,SWITCH,PS
More answers regarding seting up a minecraft server [duplicate]
Answer 2
It could be your ISP (Internet Service Provider). Sometimes your ISP will block certain ports for some reason or another. A very common one the Minecraft port (25565). If this is your problem then you need to contact your ISP and see if you can get that port unblocked for you.
If that's not the case then it could be a combination of things. One, being your ISP blocking ports, and another such as the IP you are using. The 192.168.x.x IPs are generally internal IPs that your computer posses. The reason why when other people have this problem and only they can play is because they are connecting to their internal IP.
Also, make sure in your server.properties file that you leave the sever ip section blank. That also maybe the case in your situation.
Answer 3
I'm pretty sure you're trying to connect locally with your external IP address: it will never work on some networks.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Pixabay, Pixabay, Brett Sayles, Brett Sayles
