So you shutdown the digital ocean instance, this will stop any programs that are running on it. So you need to just run the startup command for the server.
Also you dont need to restart or shutdown the instance, as far as i know you can just stop and rerun the server start to update any settings you are changing.
Also confused on your wording so i just assumed, hope this helps
Why not change the port for one of the servers? then when a connection comes in for one of the servers names you can have it route to that port and the other name can go to the default 25565 port.
Port forwarding is just a way to open the port that the server uses to the internet. Without changing port forwarding settings no one will be able to reach the server unless they are on the same local network as you. the online/offline mode setting just changes some settings with the server as far as i know and has no effect on port forwarding.
From my experience with software looking at those exceptions makes me think you have an issue with an incorrectly installed mod or something like that. It keeps trying to find a class or get an Instance of a class but fails on that.
This exception feels like it would be the one I would look into more:
Attempted to load class net/minecraft/client/settings/KeyBinding for invalid dist DEDICATED_SERVER
And a quick search for net/minecraft/client/settings/KeyBinding resulted in this post
I would link a list of the mods you have in the modpack so that the people who have knowledge of mods can help you pick out ones that are causing the issue
So the issue I have been facing has been a lot of server lag, even with just me playing locally on a different system I am seeing decent lag even when all the chunks around me are loaded.
When looking at htop I see at least one thread sitting at 100% almost the whole time while someone is on the server. The server is running a pentium g4560 with 16GB of ram, and is all running on an ssd (if that even makes a difference). Beyond the OS, the MC server and ssh server there is nothing else running on the system.
So the reason i am creating a thread is to ask if there is something I can do beyond changing the server to a more powerful system?
Or really just asking for insight into the main reasons why the lag could be occurring.
Reasons I currently think the server is lagging:
Possibly need to move to a lighter OS
Maybe the dual core is not enough
MC version really just has that poor of performance
Note: I do realize that 1.14.2 is not the best performing version of MC and I have yet to try newer or older versions but will in the future. I have tested with 1.14.4 which does run slightly better but I still get lots of server lag issues.
I am also very experienced with software and hardware so hit me with the high level help/advice
So I actually realized my last post was incorrect, The modem does actually need to have the port forwarding rules too. I am now able to get a ssh port open on portcheckers (port 22 and the ssh server is on the same ubuntu system as the MC server) but with the same rules for 25565 i was unable to get it to open (it is still showing closed message).
Also I was able to ssh over lan to the same system but still unable to get a telnet to 25565. I also checked the netstat on the ubuntu server and it is listening to the 25565 port
So since you know the computers can ping each other, you at least know they're on the same subnet (and most routers set the subnet at /24 anyway), thus layer 3 OSI. So the next step is making sure you have layer 4 OSI connectivity between the two boxes.
Can you confirm 100 percent that your Win 10 box can create a TCP connection to Ubuntu Minecraft? I normally do this using putty (a really well known SSH client) by setting the configuration to telnet, changing the port to whichever port I'm testing (so in your case, 25565 - default port Minecraft binds to), and seeing what kind of response I get
So putty is timing out on the 25565 port when doing windows 10 to ubuntu (client to server), this is where I don't know what to do. This would mean something is stopping a TCP connection between the 2 systems, right?
I also have to ask, are you using the Windows version of Minecraft? I mean, it's very, very unusual that you aren't able to connect to a Minecraft server on the same LAN, right? Especially if you turn off the firewall on the server (does Ubuntu even ship with a firewall? Usually the server doesn't, iirc).
This is what is stumping me too. This isn't my first time and usually its pretty simple to get running.
For port forwarding, what is the exact message that was returned from portcheckers.com? A closed port message will normally mean that a firewall is not blocking/filtering the port AND a server is not running on that port. A timed out message usually indicates a firewall dropped/blocked/filtered the connection attempt (for example, iptables -A INPUT -p tcp --dport 25565 -j DROP will drop any packets with a dst of 25565) whether or not there's a server listening on that port.
Yeah portcheckers gave me a closed message, I assumed that meant something was wrong with the server itself.
It could be the case that you need to port forward twice; ISP modems have gotten smarter and they may be "routers" themselves. Check to make sure the router you're currently port forwarding doesn't have a WAN address that is an RFC 1918 IP address (a 192.168 kinda network usually). When my network connection was upgraded, the modem we received had, among other things, a DHCP server. So I ended up having to port forward through the modem and the router I bought to whatever server I needed to access from the Internet.
This isn't it either, router shows the correct external IP
lmk if I got anything wrong haha
lol nah, this has been helpful. A lot of things I didn't think to check
I tried with all firewalls off on all involved systems, it still didn't work. I also setup rules on the firewalls to allow for the specific ports and applications.
I haven't checked homegroup and sharing settings, But i still haven't been able to get the server open to outside my network either so i actually feel like there is something I am missing with the mc server itself or the router is doing something weird.
This looks like it most likely is the issue, my router doesn't let me change anything for lan loopback so looks like this is an excuse to get a new one.
Hello, so I have spent the whole day on this issue and seem to be a more unique issue since I cant find any solutions that fix mine. So I would really appreciate the help!
MY ISSUE:
I currently have a dedicated Ubuntu desktop running a 1.12.2 minecraft server. On the desktop I was able to connect to the server on mc using localhost.
But on the same network I was unable to connect to the server using the server's ipv4 address on a separate windows 10 pc. I also have not been able to get the port to open either (portcheckers shows that the port is closed on my ip despite having that port fowarded to the running server ip address)
What I have done/checked so far:
- port forwarded on 25565 and a different port (incase ISP was blocking 25565)
- checked connection between computers using ping (worked great both ways)
- turned off port-forwarding and enabled DMZ (this made no difference)
- changed online-mode to both true and false in server properties
- both server and computer are on same version of mc
- turned off all firewalls on both systems, also turned off router firewalls as well
I honestly don't have a clue what could be the issue for this server. I am fairly knowledgeable with computers and have taken a few networking courses at uni so would love some high level help with this if anyone can.
0
So you shutdown the digital ocean instance, this will stop any programs that are running on it. So you need to just run the startup command for the server.
Also you dont need to restart or shutdown the instance, as far as i know you can just stop and rerun the server start to update any settings you are changing.
Also confused on your wording so i just assumed, hope this helps
0
Why not change the port for one of the servers? then when a connection comes in for one of the servers names you can have it route to that port and the other name can go to the default 25565 port.
0
"If this is the case, consider increasing timeout-time in spigot.yml but note that this will replace the crash with LARGE lag spikes"
Seems like it is timing out due to a change happening to the server. Have you tried increasing the timeout?
0
Port forwarding is just a way to open the port that the server uses to the internet. Without changing port forwarding settings no one will be able to reach the server unless they are on the same local network as you. the online/offline mode setting just changes some settings with the server as far as i know and has no effect on port forwarding.
0
From my experience with software looking at those exceptions makes me think you have an issue with an incorrectly installed mod or something like that. It keeps trying to find a class or get an Instance of a class but fails on that.
This exception feels like it would be the one I would look into more:
Attempted to load class net/minecraft/client/settings/KeyBinding for invalid dist DEDICATED_SERVER
And a quick search for net/minecraft/client/settings/KeyBinding resulted in this post
I would link a list of the mods you have in the modpack so that the people who have knowledge of mods can help you pick out ones that are causing the issue
0
So the issue I have been facing has been a lot of server lag, even with just me playing locally on a different system I am seeing decent lag even when all the chunks around me are loaded.
When looking at htop I see at least one thread sitting at 100% almost the whole time while someone is on the server. The server is running a pentium g4560 with 16GB of ram, and is all running on an ssd (if that even makes a difference). Beyond the OS, the MC server and ssh server there is nothing else running on the system.
So the reason i am creating a thread is to ask if there is something I can do beyond changing the server to a more powerful system?
Or really just asking for insight into the main reasons why the lag could be occurring.
Reasons I currently think the server is lagging:
Note: I do realize that 1.14.2 is not the best performing version of MC
and I have yet to try newer or older versions but will in the future.I have tested with 1.14.4 which does run slightly better but I still get lots of server lag issues.I am also very experienced with software and hardware so hit me with the high level help/advice
0
So I actually realized my last post was incorrect, The modem does actually need to have the port forwarding rules too. I am now able to get a ssh port open on portcheckers (port 22 and the ssh server is on the same ubuntu system as the MC server) but with the same rules for 25565 i was unable to get it to open (it is still showing closed message).
Also I was able to ssh over lan to the same system but still unable to get a telnet to 25565. I also checked the netstat on the ubuntu server and it is listening to the 25565 port
0
So putty is timing out on the 25565 port when doing windows 10 to ubuntu (client to server), this is where I don't know what to do. This would mean something is stopping a TCP connection between the 2 systems, right?
This is what is stumping me too. This isn't my first time and usually its pretty simple to get running.
Yeah portcheckers gave me a closed message, I assumed that meant something was wrong with the server itself.
This isn't it either, router shows the correct external IP
lol nah, this has been helpful. A lot of things I didn't think to check
0
Yeah i tried that before, it also didnt seem to make a difference
0
I tried with all firewalls off on all involved systems, it still didn't work. I also setup rules on the firewalls to allow for the specific ports and applications.
I haven't checked homegroup and sharing settings, But i still haven't been able to get the server open to outside my network either so i actually feel like there is something I am missing with the mc server itself or the router is doing something weird.
0
This looks like it most likely is the issue, my router doesn't let me change anything for lan loopback so looks like this is an excuse to get a new one.
Thanks!
0
Hello, so I have spent the whole day on this issue and seem to be a more unique issue since I cant find any solutions that fix mine. So I would really appreciate the help!
MY ISSUE:
I currently have a dedicated Ubuntu desktop running a 1.12.2 minecraft server. On the desktop I was able to connect to the server on mc using localhost.
But on the same network I was unable to connect to the server using the server's ipv4 address on a separate windows 10 pc. I also have not been able to get the port to open either (portcheckers shows that the port is closed on my ip despite having that port fowarded to the running server ip address)
What I have done/checked so far:
- port forwarded on 25565 and a different port (incase ISP was blocking 25565)
- checked connection between computers using ping (worked great both ways)
- turned off port-forwarding and enabled DMZ (this made no difference)
- changed online-mode to both true and false in server properties
- both server and computer are on same version of mc
- turned off all firewalls on both systems, also turned off router firewalls as well
I honestly don't have a clue what could be the issue for this server. I am fairly knowledgeable with computers and have taken a few networking courses at uni so would love some high level help with this if anyone can.
Thanks!