As the title says, I have a regular vanilla server running on my desktop PC.
However, I can't seem to connect to it when I use the IP address of my server, my IP address that is. I'm only able to connect to the server via "localhost".
The night before everything was fine and I was able to connect via my IP address, even with my laptop running Minecraft and the desktop running the server.
The funny thing is that my friend is able to connect to said server, nothing was wrong on their end.
Wanting to play on my laptop, I need the server running on my desktop so "localhost" is not an option.
I own a legitimate copy of the game and I am logged in. I am able to connect to other servers just fine (bigger servers such as Hypixel).
When I try entering the server it tries to log in and fails stating:
"Internal Exception: java.IOExeption: An existing connection was forcibly closed by the remote host"
And on the server thread it says:
"com.mojang.authlib.GameProfile@6c2416b9[id=<null>,name=Megmadon,properties={},legacy=false] (/192.168.1.1:58352) lost connection: Disconnected"
I've tried setting the server to offline mode, creating a server from scratch, re-installing Minecraft to no avail.
I thought it may have been a problem with my account, but that wouldn't be the case if I'm able to connect to other servers. It's just my own server and I'm the only one not able to log in to it.
I'd really appreciate the help. Thank you.
*SOLVED*
Turns out my router was using the wrong protocol in the port-forwarding setting.
As the title says, I have a regular vanilla server running on my desktop PC.
However, I can't seem to connect to it when I use the IP address of my server, my IP address that is. I'm only able to connect to the server via "localhost".
The night before everything was fine and I was able to connect via my IP address, even with my laptop running Minecraft and the desktop running the server.
The funny thing is that my friend is able to connect to said server, nothing was wrong on their end.
Wanting to play on my laptop, I need the server running on my desktop so "localhost" is not an option.
I own a legitimate copy of the game and I am logged in. I am able to connect to other servers just fine (bigger servers such as Hypixel).
When I try entering the server it tries to log in and fails stating:
"Internal Exception: java.IOExeption: An existing connection was forcibly closed by the remote host"
And on the server thread it says:
"com.mojang.authlib.GameProfile@6c2416b9[id=<null>,name=Megmadon,properties={},legacy=false] (/192.168.1.1:58352) lost connection: Disconnected"
I've tried setting the server to offline mode, creating a server from scratch, re-installing Minecraft to no avail.
I thought it may have been a problem with my account, but that wouldn't be the case if I'm able to connect to other servers. It's just my own server and I'm the only one not able to log in to it.
I'd really appreciate the help. Thank you.
*SOLVED*
Turns out my router was using the wrong protocol in the port-forwarding setting.
It should be TCP and NOT UDP or BOTH
So there are technically 3 IP address types.
There is localhost (your own computer) (also called a loopback address)
There is your internal address... usually 192.168.X.X
There is your external address which your friends are using to connect I presume.
The address you need to use is the internal address of the desktop from your laptop to connect to the server.
To get that address, on the desktop, run command prompt and type ipconfig. You want the IPv4 address. Try connecting using that on your laptop.