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

Could not bind to tcp://0.0.0.0:8080: Address already in use #5

Closed
oneapple300690 opened this issue Oct 31, 2017 · 18 comments
Closed

Comments

@oneapple300690
Copy link

oneapple300690 commented Oct 31, 2017

Could you please help me? I try to change my IP address in server.php file but I still could not run php server.php from my cli. Thanks in advance.
P/s: I am using XAMPP to run this.

@amirsanni
Copy link
Owner

I need to know where you made the change AND note that you'll also need to update the IP on the client side.

@oneapple300690
Copy link
Author

Hi Amir, I just want to try running on my laptop first with different browsers. I tried to change IP address in server.php file to get in run on another device but I could not make it run as well, then I restore it to the original one. Could you please do teamviewer to have a look for me please?

@oneapple300690
Copy link
Author

I found the issue that when I start Apache server, error "Could not bind to tcp://0.0.0.0:8080: Address already in use" happens. However, if I stop Apache server, I run php server.php without errors but it displays nothing like notifications or something to confirm.

@amirsanni
Copy link
Owner

Are you trying to run it on 0.0.0.0:8080? Share your teamviewer details

@oneapple300690
Copy link
Author

I am trying to run it on localhost with different browsers

@oneapple300690
Copy link
Author

When will you be free for teamviewer?

@amirsanni
Copy link
Owner

Not sure I'll be free today. Perhaps sometime tomorrow. Timezone here is GMT+1

@oneapple300690
Copy link
Author

Hi there, my timezone here is GMT +12. Now it is 10:47pm. Are you free now?

@oneapple300690
Copy link
Author

I changed port 8080 to 3030 and could run php server.php without any errors. However, I don't see my camera and chat between two browsers.

@amirsanni
Copy link
Owner

Ensure your client script is trying to connect on that port as well.

@oneapple300690
Copy link
Author

I am using only my computer to test on different browsers but it could not work properly. Both browsers display "offline" status and could not communicate together. It does not show any errors anymore but it does not work properly.

@amirsanni
Copy link
Owner

Hi @oneapple300690 any success yet? Totally switched off and forgot about this.

@oneapple300690
Copy link
Author

oneapple300690 commented Dec 12, 2017 via email

@amirsanni
Copy link
Owner

Any error message in any of the browsers? Which browsers? Which browser are you using on the remote device?

@oneapple300690
Copy link
Author

oneapple300690 commented Dec 15, 2017 via email

@amirsanni
Copy link
Owner

@oneapple300690 Is this working now?

@oneapple300690
Copy link
Author

oneapple300690 commented Jan 16, 2018 via email

@amirsanni
Copy link
Owner

Unfortunately, I cannot help further. I cannot tell if it has anything to do with your device OR not. No idea. Sorry about that.

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

No branches or pull requests

2 participants