Ratchet icon indicating copy to clipboard operation
Ratchet copied to clipboard

its not working on shared web hosting

Open mkamranmazhar opened this issue 3 years ago • 5 comments

Thank You so much For Your Amazing Ratchet PHP library.

it's Perfect Working on my localhost System with XAMPP.

But it's not working on my shared web hosting so please let me know how it's possible to run this app on shared hosting.

if you have any guide or documentation regarding Ratchet working on live hosting server so please share with me.

Best Regards.

mkamranmazhar avatar Aug 01 '22 09:08 mkamranmazhar

Search through other issues. This has come up several times in the past, and either you can make it work but it depends on the shared hosting. Or you'll host to switch to a VPS or something that runs containers.

WyriHaximus avatar Aug 01 '22 16:08 WyriHaximus

Hi, @WyriHaximus. i'm also having the same issue, with the following error PHP Fatal error: Uncaught RuntimeException: Failed to listen on "tcp://0.0.0.0:80": Permission denied (EACCES)

ejiroghene15 avatar Aug 26 '22 09:08 ejiroghene15

@ejiroghene15 non-proviliged users can't listen on ports below 1024.

WyriHaximus avatar Aug 29 '22 21:08 WyriHaximus

i'm confused, what do you mean by non-privileged users, and how can i get a fix on that

Update: I've done the fix on this, all i just needed to do was change the port number. Thanks for the help.

ejiroghene15 avatar Aug 29 '22 21:08 ejiroghene15

Generally only root is a privileged user that can open ports from 0 to 1024. So yeah changing the port will fix that :)

WyriHaximus avatar Aug 31 '22 18:08 WyriHaximus