Jump to content

Can't connect locally to Ubuntu Minecraft Server

Issue is as stated in the title, more specifically I can't connect to the Ubuntu server from my Windows pc.
I've had the server running for several years without issue on a Windows pc.
Port forwarding on the router is set up correctly (Doesn't matter for local anyway)

UFW firewall has an exception for 25565, but for the time being UFW is disabled.
Server is running on *:25565, I've tried running on 0.0.0.0 and 192.168...etcetc none of em fix the problem.

Attempting a local connection from my Windows PC on any of the above IP's yields "Unable to Connect"
Java 21.0.1 (This may be a problem, not sure. My windows host setup runs Java 18.)
Ubuntu 22.04.3LTS
(Other Minecraft server that's running on windows doesn't use the default port as it's connected to from a velocity proxy elsewhere on the continent)


As far as I can tell, Java is listening on port 25565 on the default gateway. By every metric I can think of I should be able to connect from my other pc. I only need local connection to work for now, though in the future this server will host 30-40 people. I'd really like to run this on Ubuntu because of its efficiency its stability and its security, but I'm new to Ubuntu and everything is a fight. I think I might be switching back to Windows if I can't figure this out.

Every available option for basic troubleshooting inability to connect to a minecraft server has been exhausted as far as I'm aware.

Unimportant information before someone asks:
The host PC:
AMD 5600x

RTX3060

48G DDR4

Ethernet connection to an unmanaged PoE switch

 

Internet is symmetrical Gigabit through Spectrum.

 

Link to comment
Share on other sites

Link to post
Share on other sites

@Woodworker

Can you use ping to the ubuntu pc from any other device and get a reply?

 

You may need to figure out how to use nmap (port mapper) command line to check open ports.  The commandline style of this program is really confusing and I never bothered to remember any of it, nor understand it, but I don't know of another program to check open ports.

: JRE #1914 Siddarth Kara

How bad is e-waste?  Listen to that Joe Rogan episode.

 

"Now you get what you want, but do you want more?
- Bob Marley, Rastaman Vibration album 1976

 

Windows 11 will just force business to "recycle" "obscolete" hardware.  Microsoft definitely isn't bothered by this at all, and seems to want hardware produced just a few years ago to be considered obsolete.  They have also not shown any interest nor has any other company in a similar financial position, to help increase tech recycling whatsoever.  Windows 12 might be cloud-based and be a monthly or yearly fee.

 

Software suggestions


Just get f.lux [Link removed due to forum rules] so your screen isn't bright white at night, a golden orange in place of stark 6500K bluish white.

released in 2008 and still being improved.

 

Dark Reader addon for webpages.  Pick any color you want for both background and text (background and foreground page elements).  Enable the preview mode on desktop for Firefox and Chrome addon, by clicking the dark reader addon settings, Choose dev tools amd click preview mode.

 

NoScript or EFF's privacy badger addons can block many scripts and websites that would load and track you, possibly halving page load time!

 

F-droid is a place to install open-source software for android, Antennapod, RethinkDNS, Fennec which is Firefox with about:config, lots of performance and other changes available, mozilla KB has a huge database of what most of the settings do.  Most software in the repository only requires Android 5 and 6!

 

I recommend firewall apps (blocks apps) and dns filters (redirect all dns requests on android, to your choice of dns, even if overridden).  RethinkDNS is my pick and I set it to use pi-hole, installed inside Ubuntu/Debian, which is inside Virtualbox, until I go to a website, nothing at all connects to any other server.  I also use NextDNS.io to do the same when away from home wi-fi or even cellular!  I can even tether from cellular to any device sharing via wi-fi, and block anything with dns set to NextDNS, regardless if the device allows changing dns.  This style of network filtration is being overridden by software updates on some devices, forcing a backup dns provuder, such as google dns, when built in dns requests are not connecting.  Without a complete firewall setup, dns redirection itself is no longer always effective.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×