-
Notifications
You must be signed in to change notification settings - Fork 2
Fatal error: Uncaught React\Socket\ConnectionException: Could not bind to tcp://127.0.0.1:8192 #2
Copy link
Copy link
Open
Description
Error:
Fatal error: Uncaught React\Socket\ConnectionException: Could not bind to tcp://127.0.0.1:8192: An attempt was made to access a socket in a way forbidden by its access permissions. in C:\xampp\htdocs\JesseComposer\vendor\react\socket\src\Server.php:90 Stack trace: #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} thrown in C:\xampp\htdocs\JesseComposer\vendor\react\socket\src\Server.php on line 90Code:
$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();Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels