1
0
mirror of https://github.com/danog/telerpc.git synced 2024-11-26 12:04:47 +01:00
This commit is contained in:
Daniil Gentili 2024-07-20 20:13:24 +02:00
parent e35bd3f3a7
commit 74f2a26f92

View File

@ -386,7 +386,7 @@ final class Main implements RequestHandler
$errorHandler = new DefaultErrorHandler();
$server = SocketHttpServer::createForDirectAccess($logger);
$server->expose('127.0.0.1:1337');
$server->expose('0.0.0.0:1337');
$server->start($this, $errorHandler);
// Serve requests until SIGINT or SIGTERM is received by the process.