floatinghotpot / cordova-httpd

Embed tiny web server into Cordova with a plugin
284 stars 149 forks source link

Exception: bind failed: EACCES (Permission denied) #51

Open hoisel opened 8 years ago

hoisel commented 8 years ago

I keep getting this error when trying to call CorHttpd.startServer: Error in Error callbackId: CorHttpd1894191633 : IO Exception: bind failed: EACCES (Permission denied) index.html:1 Uncaught (in promise) IO Exception: bind failed: EACCES (Permission denied)

MorleyMinde commented 7 years ago

I am experiencing the exact same issue in ionic 2. What is the solution to this?

samarthagarwal commented 7 years ago

Any solution?

danielehrhardt commented 7 years ago

Something new on this?

danielehrhardt commented 7 years ago

On Linux-based systems, ports below 1024 can only be opened by apps with superuser privileges. Please choose a higher port.

action-script commented 7 years ago

Thanks @danielehrhardt Port 80 gives Code=13 "Permission denied" but 8080 works for me.

kennedymca commented 6 years ago

It's working fine for me don't give port like 80 change it to 8055 or something, it will work