Answer the question
In order to leave comments, you need to log in
Why is the server not available through the browser, but through CURL - ok?
Good afternoon,
I decided to try out Laravel Octane, with the server running through Swoole. OS - Ubuntu 20
I start the server, it starts accepting requests on port 8000, I try cURL (localhost) - it responds normally. I open in the browser - "The page cannot be displayed" (connectionfailure).
firewalld, seinux - disabled.
Answer the question
In order to leave comments, you need to log in
Most likely the server is hanging on localhost 127.0.0.1, but you need to hang it on 0.0.0.0
Look:
https://www.swoole.co.uk/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question