server only running on IPv6
my mine minecraft server is only running on IPv6 and i want it to run on IPv4 (tryed using
-djava.net.preferIPv4Stack=true
it worked for a day and thats it)97 Replies
⌛
This post has been reserved for your question.
Hey @switce! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
Are you saying the server itself doesn't allow IPv4 connections or do you mean these aren't routed to your computer?
If you want to use IPv4 to connect to your computer from another network, you have to do some setup things
?
how
like the server wont run on IPv4 and only IPv6
my domain requires IPv4
What makes you think so?
see image
The image doesn't show anything except that the combination of IP and port is not reachable from whereever that checker is running
Where are you running the server?
im running the server on my pc
port forward it
When you open Minecraft on your PC and try to connect to "127.0.0.1:25565", what happens?
puts me in the server
that means the server runs with IPv4
so port forwarding (or possibly your firewall) is the issue
Do you have another device with Minecraft in the same network?
but when i use my public IPv4 it wont work but when i use my public IPv6 it works
yes
As I said, probably port forwarding, firewall or using the wrong IP
Can you connect to the server from that device using the private IPv4 address of the server?
yes
Does that thing also show an IP address?
So that part works?
then it's the port forwarding that doesn't work
private yes
I assume you entered your public IP there?
and it is the private IP of the server, right?
no
private
well that cannot work
you need to enter your public IP in the IP checker
the server isn't available from other networks by its private IP
btw it's possible that someone else already port forwards port 25565 blocking you from doing that
wait no no
i put my public in the tester
ok
Can you test forwarding a different port to 25565?
Ideally a random port
for example 36736
idk just a random number nobody else would have picked
on my network?
no, in another network
Like your ISP probably uses the same public IP for multiple networks/houses
like maybe your neighbors or whatever have the same IP and also do port forwarding with that port (or have it configured)
so i change the server port and change the port forward port?
either that
or I think you might also be able to forward a different port to 25565
Are there options other than "Port-Range"?
remap and DMZ
I think remap could work as well but idk what exactly your ISP means with that
DMZ is not a good idea, that's something else
i have DZS router
you'd definitely need TCP
yea
im using tcp
i just sent what remap and range want
What are the options with "NAT interface"?
yeah just try what you did before with different ports and also use the respective ports in the Minecraft server and the tester
also yesterday i used this parm and it worked
diddint work today
thats why im here
was able to use the domain
and Ipv4 adress
that shouldn't really change anything
but it worked
i want it to work
its still in my command file
if it worked, it's not because of that option
it should work
well your Minecraft server does work and it is using IPv4
but i changed nothing 😭
I just shutdown the server
next day it diddint work
not seeming to work
Is that from another network?
my pc
in the same network?
yes
I assume you want to play with people outside your network on that server?
hosting the server here
yes
it worked yesterday
and my domain worked yesterday
idk what you mean with your domain
or how you configured it
it had my public ip
type "A"
i was able to join using a domain
and IP
ah ok
try connecting via the public IP directly
if that doesn't work, the domain cannot work
Can you check whether you still have the same public IP?
like your ISP can change your IP whenever they want to
wait the domain is "AAAA"
AAAA is IPv6 IIRC
A should be IPv4
Try using the IP and not the domain
if it doesn't work with the IP, it cannot work with the domain
public ipv4 hangs
ipv6 doesnt work
domain doesnt work
Which port are you forwarding now?
Did you enter
<your IP>:36736
in Minecraft?
for the server address?public?
first try private
if it works, continue with the public IP
public hangs
private IP works I guess?
why is my ip 0.0.0.0
private works
public no
Where does it show that?
it isn't
setting
fixed it
0.0.0.0 is often use a placeholder for "no IP" or similar
e.g. in DHCP when you don't have an IP yet but want to request one, you use 0.0.0.0
and 0.0.0.0 is also used for "all IPs"
uhmh
i guess now il pay gazillions to other hosters
should close this
because im not progressing
made it worse
you can probably just make it work somehow
i keep making it worse
you might want to check whether
- the private IP of the server actually matches the IP shown in the port forwarding
- the port is the same in the server config (you probably need to restart the server after changes to that), the port forwarding settings and in the Minecraft server list/where you entered the server address (after the
:
)
- your firewall allows that port
- the IP you are connecting to is actually your public IP (maybe your ISP changed that)i have no firewall
ip matchs
reset the server
Windows has a firewall by default
who said im on windows
oh right
so?
As I said, the problem is probably just the port forwarding thing
if you use the different port, you need to specify that in the server address
but how
??
you can also just switch back to the old port
worked perfect yesterday
idk about port forwarding
idk, ask your ISP
i cant use ngrok because i used all my data
if you want to go back to the version from before that worked more or less, you'd probably need to set the port back to 25565 everywhere
oh and another thing you could try is restarting your router - but note that this might give you a new public and/or private IP
i honestly wanted to host a server on my own because i hate paying but its too much for my 8.23 iq brain
closing this
Post Closed
This post has been closed by <@934518833824292925>.