Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to listen on "tcp://127.0.0.1:8080": Address already in use #1030

Open
matangperception opened this issue Jul 28, 2023 · 4 comments
Open
Labels

Comments

@matangperception
Copy link

Failed to listen on "tcp://127.0.0.1:8080": Address already in use i have an issue when i deploy the code on live server in my laravel project

@WyriHaximus
Copy link

If that happens something else is already listening on port 8080 and you have to pick a different port.

@matangperception
Copy link
Author

i will kill that port and after run code having same issue.

@WyriHaximus
Copy link

WyriHaximus commented Jul 28, 2023

Well if your code has that port in use you need to termite it first before you can use that port again. Unless you use SO_REUSEPORT.

@SimonFrings
Copy link

@matangperception Does it help in your case to use a different port than 8080 (e.g. 8081), or is the overall problem laying in you server setup (running behind an Apache?)

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

No branches or pull requests

3 participants