我想建立一个Minecraft服务器列表网站,对于带有rsa键的验证器,我会遇到致命错误。
我尝试过的事情:
我没有办法解决这个问题。
错误:
致命错误:未捕获的React \ Socket \ ConnectionException:无法绑定到tcp://127.0.0.1:8192:尝试以其访问权限禁止的方式访问套接字。在C:\ xampp \ htdocs \ JesseComposer \ vendor \ react \ socket \ src \ Server.php:90堆栈跟踪中:#0 C:\ xampp \ htdocs \ JesseComposer \ src \ BFoxwell \ Votifier \ Server.php(75): React \ Socket \ Server-> listen('8192','127.0.0.1')#1 C:\ xampp \ htdocs \ JesseComposer \ src \ BFoxwell \ Votifier \ Server.php(54):BFoxwell \ Votifier \ Server-> createSocket(Object(React \ EventLoop \ StreamSelectLoop),'8192','127.0.0.1')#2 C:\ xampp \ htdocs \ JesseComposer \ src \ BFoxwell \ Votifier \ Votifier.php(73):BFoxwell \ Votifier \ Server -> start()#3 C:\ xampp \ htdocs \ JesseComposer \ phpplugins \ database_config.php(360):BFoxwell \ Votifier \ Votifier-> run()#4 C:\ xampp \ htdocs \ JesseComposer \ servers.php( 104):Database-> Vote('2','ARares')#5 {main}在第90行的C:\ xampp \ htdocs \ JesseComposer \ vendor \ react \ socket \ src \ Server.php中抛出
我的功能:
$config = [
'key' => $VOTIFIER_INFO['Votifier Key'],
'passphrase' => '', // Optional
'address' => $VOTIFIER_INFO['Votifier Ip'],
'port' => $VOTIFIER_INFO['Votifier Port'],
];
$server = new BFoxwell\Votifier\Votifier($config, function($message, $logger) {
return $message;
});
$server->run();
Votifier-> https://github.com/brianmcdo/votifier
有人解决这个问题吗?