F5F Stay Refreshed Software Operating Systems Establishing a link to your Minecraft server on CentOS 8 is possible!

Establishing a link to your Minecraft server on CentOS 8 is possible!

Establishing a link to your Minecraft server on CentOS 8 is possible!

Pages (3): Previous 1 2 3 Next
N
NaiROolF
Senior Member
685
02-25-2026, 11:56 AM
#11
Minecraft runs as a Java program and typically uses port 25565. It appears to be configured for IPv6, but you're wondering if a TCP4 equivalent exists. Is your internal network supporting IPv6?
N
NaiROolF
02-25-2026, 11:56 AM #11

Minecraft runs as a Java program and typically uses port 25565. It appears to be configured for IPv6, but you're wondering if a TCP4 equivalent exists. Is your internal network supporting IPv6?

M
mineseuss
Member
51
02-25-2026, 01:59 PM
#12
I've sent the port (TCP + UDP) and I'm attempting to establish a connection from another PC using the laptop's local IPv4 address for the server.
M
mineseuss
02-25-2026, 01:59 PM #12

I've sent the port (TCP + UDP) and I'm attempting to establish a connection from another PC using the laptop's local IPv4 address for the server.

J
jeffking121
Junior Member
18
02-25-2026, 04:00 PM
#13
The information suggests no entries for tcp4, indicating you're primarily using IPv4 for your network connections.
J
jeffking121
02-25-2026, 04:00 PM #13

The information suggests no entries for tcp4, indicating you're primarily using IPv4 for your network connections.

A
AmberTheGamer
Junior Member
20
02-25-2026, 06:01 PM
#14
Currently Minecraft appears to only communicate via the device's IPv6 port, making IPv4 connections impossible. Consider this solution: https://superuser.com/questions/453298/h...stead-ipv6
A
AmberTheGamer
02-25-2026, 06:01 PM #14

Currently Minecraft appears to only communicate via the device's IPv6 port, making IPv4 connections impossible. Consider this solution: https://superuser.com/questions/453298/h...stead-ipv6

S
Saudi54
Member
238
02-25-2026, 08:02 PM
#15
Sure, I understand you're trying to grasp the thread better. It might be overwhelming, but I'm here to clarify the commands you should use. Let me break it down for you.
S
Saudi54
02-25-2026, 08:02 PM #15

Sure, I understand you're trying to grasp the thread better. It might be overwhelming, but I'm here to clarify the commands you should use. Let me break it down for you.

S
SoapPvP
Member
55
02-25-2026, 10:10 PM
#16
In the home directory file, add the line to set Java options. After saving, restart the Minecraft service so it uses IPv4 by default.
S
SoapPvP
02-25-2026, 10:10 PM #16

In the home directory file, add the line to set Java options. After saving, restart the Minecraft service so it uses IPv4 by default.

D
DexoX_
Junior Member
37
02-26-2026, 12:20 AM
#17
You're close! The command "netstat -tulpen" typically lists all network connections, including TCP. If it's not showing any TCP connections, it might be due to the interface name or a firewall setting. Try running it on a different interface or checking your system logs for more details.
D
DexoX_
02-26-2026, 12:20 AM #17

You're close! The command "netstat -tulpen" typically lists all network connections, including TCP. If it's not showing any TCP connections, it might be due to the interface name or a firewall setting. Try running it on a different interface or checking your system logs for more details.

B
ByWeaadox
Member
65
02-26-2026, 02:26 AM
#18
Today is a new start and things seem different. After rebooting the laptop (now acting as a server), I opened the screen and tried to run the server with the command: java Xmx4G Xms4G -jar server.jar nogui. The output showed: Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true Error: Could not find or load main class Xmx4G. Fix: Oops, typo before Xmx and Xms). The server started but I still can't connect to it.
B
ByWeaadox
02-26-2026, 02:26 AM #18

Today is a new start and things seem different. After rebooting the laptop (now acting as a server), I opened the screen and tried to run the server with the command: java Xmx4G Xms4G -jar server.jar nogui. The output showed: Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true Error: Could not find or load main class Xmx4G. Fix: Oops, typo before Xmx and Xms). The server started but I still can't connect to it.

B
bubalu529
Member
114
02-26-2026, 04:32 AM
#19
Attempting to retrieve the server's IP addresses and listening ports using the specified commands. The first output will display the IPs, while the second will show the active listening ports. You can then use telnet to test connectivity to those ports.
B
bubalu529
02-26-2026, 04:32 AM #19

Attempting to retrieve the server's IP addresses and listening ports using the specified commands. The first output will display the IPs, while the second will show the active listening ports. You can then use telnet to test connectivity to those ports.

T
Toodaloo_246
Senior Member
439
02-26-2026, 06:38 AM
#20
Shifted to Linux, macOS and all platforms excluding Windows
T
Toodaloo_246
02-26-2026, 06:38 AM #20

Shifted to Linux, macOS and all platforms excluding Windows

Pages (3): Previous 1 2 3 Next