Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.

start serv failed #20

Open
ataraxia82 opened this issue Mar 22, 2018 · 1 comment
Open

start serv failed #20

ataraxia82 opened this issue Mar 22, 2018 · 1 comment

Comments

@ataraxia82
Copy link

php artisan socket:serve

In TcpServer.php line 164:

Failed to listen on "tcp://127.0.0.1:1010": Permission denied

@tabuna
Copy link
Owner

tabuna commented Mar 22, 2018

Hey.

All is correct, usually such ports require access rights.
Change the port, for example, to 8081
or write this command using the administration rights (in case no other program uses this port).

Ubuntu:

allow data transfer:

ufw allow 1010:1020/tcp

run as administrator:

sudo php artisan socket:serve

Such actions will solve your problem.
But I strongly do not recommend using such ports.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants