curl localhost:8000curl 0.0.0.0:8000root@37-140-199-175:~# netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:8000 0.0.0.0:* LISTEN 32254/swoole_http_s
curl 0.0.0.0:8000You can either run Swoole directly on your network or use Apache or Nginx with a proxy pass through setup to accept requests.
curl 127.0.0.1:8000, так и curl 37.140.199.175:8000
root@37-140-199-175:~# netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:8000 0.0.0.0:* LISTEN 32254/swoole_http_s
php artisan octane:start --server=swoole --host=0.0.0.0