Port may be use in use by other process?

Wenn ich versuche meinen Minecraft Server zu starten wird mir angezeigt, dass das Port von einem anderen Prozess verwendet wird. Wenn ich lsof -i ausführe wird das Port jedoch nicht angezeigt. Was mache ich falsch?

(2 votes)
Loading...

Similar Posts

Subscribe
Notify of
16 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
kevin1905
10 months ago

What am I doing wrong?

You most likely have not via a public IPv4 address and therefore your server would not be accessible from the Internet anyway, except if necessary via IPv6.

And even if you had a public IPv4 address, there would be NAT and Portforwarding. Each port can only be used by one process per public IPv4.

We need more information about your entire network infrastructure, especially to the WAN.

Or is this a pure LAN server, because you don’t want to open the outside?

kevin1905
10 months ago
Reply to  TrueDeep

The VPN isn’t running on the port, is it?

kevin1905
10 months ago

OpenVPN, IPsec or Wireguard?

sagacious
10 months ago

Sometimes you have to release the port in a Fritzbox in the settings of the router. It may be.

evtldocha
10 months ago

If I run lsof -i the port is not displayed

If you only use the -i option, no name resolution is disabled and a known port is displayed with name instead of a number. Some applications are included in the /etc/services file during installation and then you can see nothing but the name.

So, do it.

sudo lsof -Pni | grep 22565

The “P” option prevents lsof from attempting to determine the port (why lsof is running faster).

evtldocha
10 months ago
Reply to  TrueDeep

Ok – then nothing runs permanently on Port 22565

Pandu2009
10 months ago

When you get the message that the port is used by another process when you start your Minecraft server, although

lsof -i

does not show any information about this port, this could indicate various problems. Here are some steps you can try to solve the problem:

  1. Check the right port: Make sure you check the right port where the Minecraft server is to run. You may have given a wrong port number or the Minecraft server tries to run on a different port than expected.
  2. Use of
netstat
  1. : Experiments
netstat
  1. to use open network connections and ports on your system. Use the command: netstat -tulpn
  2. This displays all active network connections and the associated processes (including ports). Search for the desired port number and the associated process.
  3. Stop other servers or services: Check if another server or service already uses the port you want to use for your Minecraft server. If necessary, stop other applications that could occupy this port.
  4. Firewall and network rules: Ensure that your firewall or network rules allow the desired port for incoming connections. Sometimes a restrictive firewall setting can block access to the port.
  5. Check configuration files: check your Minecraft server’s configuration files to make sure the correct port is specified. Sometimes a wrong configuration can cause the server to run on a different port than expected.
  6. Restart the system: If all knits tear, try to restart your system. Sometimes persistent processes or configuration problems can be eliminated by restarting.
Phamsk8
10 months ago
Reply to  Pandu2009

“How do I know this: own experience”…although more chatGPT 😂