Cant join server with public address

I have just set up a basic papermc server on my linux server and although i have port forwarded 25565 and allowed 25565 trough linux firewall, i cannot connect to the server with the public ipv4, only locally with the local ip. There is no apparent reason for it to not be working and i haven't found anything useful online.
25 Replies
Admincraft Meta
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by $hin#5116
Discount Milk
Discount Milk2y ago
Check using https://mcsrvstat.us/ If it doesn't work, verify your port forwarding. Follow this for troubleshooting https://rtech.support/docs/networking/port-forwards.html
r/TechSupport Wiki
Troubleshooting Port Forwards
An open-source wiki for r/TechSupport
ProGamingDk
ProGamingDk2y ago
^^, you cant connect through public address if the server is on the same network as u (most of the time)
$hin
$hinOP2y ago
I know this but in the past it has always worked for me but just to be sure i ask my friend to try to join whenever i make a change to see if it worked
ProGamingDk
ProGamingDk2y ago
mcsrvstat is a great tool if ur friend isnt available
$hin
$hinOP2y ago
i carefully followed the entire guide and it still did not solve my issue.
Discount Milk
Discount Milk2y ago
Good thing you gave me a lot of info to help you with.
$hin
$hinOP2y ago
i'd like you to give info but i don't know what kind of info would be useful
Discount Milk
Discount Milk2y ago
Literally anything more than "it doesn't work" Because you were told multiple things to try.
$hin
$hinOP2y ago
following the guide i removed all deny and reject rules from iptables and then i noticed that the server was only listening on ipv6 so i did what the guide said to make it also listen on ipv4. i am not running on a CGNAT and don't have multiple routing devices nor a VPN. i am also testing trough mcsrvstat.us
Discount Milk
Discount Milk2y ago
Are you hosting at home?
$hin
$hinOP2y ago
yes
Discount Milk
Discount Milk2y ago
How did you check for CGNat
$hin
$hinOP2y ago
hold on im checking better to be sure
$hin
$hinOP2y ago
could this mean i am on CGNat?
No description
$hin
$hinOP2y ago
can translate if needed
Discount Milk
Discount Milk2y ago
!CGNat
Carl-bot
Carl-bot2y ago
We may have bad news for you :C
Open your router's configuration interface. Somewhere you'll see something like 'external' or 'public' IP. If your external IP is in one of the following ranges, you're basically screwed as long as portforwards go: - 10.0.0.0/8 - 172.16.0.0/20 - 192.168.0.0/16 - 100.64.0.0/10 - any IPv6 address/range - This shouldn't be a problem, but Minecraft's IPv6 support is still rather quirky. You're at your own but we're happy if you share your experience. You should ask your ISP for a public and IPv4 address (but this may cost you money). NB: your internal IP should and most probably will be in one of the first three ranges, don't mix them up
Admincraft Canned Responses
Discount Milk
Discount Milk2y ago
Yes
$hin
$hinOP2y ago
Do ISPs decide to switch to CGNat after some years? I hosted some other mc servers in the past and never had this kind of issue.
Discount Milk
Discount Milk2y ago
Unfortunately I'm not omniscient, couldn't tell you why or how or when your ISP changed it. You'd have to ask them
$hin
$hinOP2y ago
jeah was just wondering if this was common practice or something... anyways thanks a lot for support
Discount Milk
Discount Milk2y ago
Depends on location and ISP. Some countries it is more common than others. If an ISP is running out of available public IPs they will switch to CGNatting customers to reserve their pool of them.
$hin
$hinOP2y ago
oh ok, that's interesting thanks again !answered
Admincraft Meta
post closed!
The post/thread has been closed!
Requested by $hin#5116

Did you find this page helpful?