menu
#4583074 Failed to bind socket: Something else is already running on 0.0.0.0 19131

Submitted by PocketMine-MP 4.0.0+dev

General information

Version: 4.0.0+dev
Git commit: eabfd2a3
Plugin involvement: None
Report date: 2020-10-17 18:32:19 +0000 UTC

System Information

PHP version: 7.4.11
Operating system: win
System banner: Windows NT THAT-ONE-PC 10.0 build 18362 (Windows 10) AMD64

Error information

Message: Failed to bind socket: Something else is already running on 0.0.0.0 19131
File: vendor/pocketmine/raklib/src/generic/Socket
Line: #71
Error level: raklib\generic\SocketException
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
		if($bindAddress->version === 6){
socket_set_option($this->socket, IPPROTO_IPV6, IPV6_V6ONLY, 1); //Don't map IPv4 to IPv6, the implementation can create another RakLib instance to handle IPv4
}

if(@socket_bind($this->socket, $bindAddress->ip, $bindAddress->port) === true){
$this->setSendBuffer(1024 * 1024 * 8)->setRecvBuffer(1024 * 1024 * 8);
}else{
$error = socket_last_error($this->socket);
if($error === SOCKET_EADDRINUSE){ //platform error messages aren't consistent
throw new SocketException("Failed to bind socket: Something else is already running on $bindAddress", $error);
}
throw new SocketException("Failed to bind to " . $bindAddress . ": " . trim(socket_strerror($error)), $error);
}
socket_set_nonblock($this->socket);
}

public function getBindAddress() : InternetAddress{
return $this->bindAddress;
}

#0 src/network/mcpe/raklib/RakLibServer(152): raklib\generic\Socket->__construct(object raklib\utils\InternetAddress)
#1 src/thread/CommonThreadPartsTrait(73): pocketmine\network\mcpe\raklib\RakLibServer->onRun()
#2 (): pocketmine\thread\Thread->run()

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies