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
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
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
^^, you cant connect through public address if the server is on the same network as u (most of the time)
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
mcsrvstat is a great tool if ur friend isnt available
i carefully followed the entire guide and it still did not solve my issue.
Good thing you gave me a lot of info to help you with.
i'd like you to give info but i don't know what kind of info would be useful
Literally anything more than "it doesn't work"
Because you were told multiple things to try.
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
Are you hosting at home?
yes
How did you check for CGNat
hold on im checking better to be sure
could this mean i am on CGNat?
can translate if needed
!CGNat
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
Yes
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.
Unfortunately I'm not omniscient, couldn't tell you why or how or when your ISP changed it.
You'd have to ask them
jeah was just wondering if this was common practice or something...
anyways thanks a lot for support
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.
oh ok, that's interesting
thanks again
!answered
post closed!
The post/thread has been closed!
Requested by $hin#5116