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

connect failed: ETIMEDOUT #237

Closed
shankar667 opened this issue Sep 16, 2016 · 5 comments
Closed

connect failed: ETIMEDOUT #237

shankar667 opened this issue Sep 16, 2016 · 5 comments

Comments

@shankar667
Copy link

shankar667 commented Sep 16, 2016

Hi,
I am using example-3 and getting the error: connect failed: ETIMEDOUT, please see log below:

D/RtspClient: Connecting to RTSP server...
I/RtspClient: TEARDOWN rtsp://192.168.0.42:1935/live/myStream RTSP/1.0
W/System.err: java.net.ConnectException: failed to connect to /192.168.0.42 (port 1935): connect failed: ETIMEDOUT (Connection timed out)

and also installed the Wowza Streaming Engine locally and created a "Source Authentication".

anything missing?

@ahmadeqbal
Copy link

ahmadeqbal commented Sep 18, 2016

maybe you'r firewall is refusing the connection
have you opened port 1935 on you'r local machine?

@nthapa13
Copy link

I had the same problem yesterday, my computer's IP was 192.168.0.5 and wowza server's IP was 192.168.26.1, I could access the wowza IP from my machine but not from my mobile phone. So I just installed wowza in a remote computer with a public IP and now it works. I couldnt resolve the problem locally. I dont think the problem is in the code but the problem is somewhere in the network setup, most probably firewall setup.

@ahmadeqbal
Copy link

follow this link to open the port on you'r local computer
http://www.wikihow.com/Open-Ports

@shankar667
Copy link
Author

Thank you so much for letting me know, I found, the issue comes from firewall

@shankar667
Copy link
Author

Issue fixed by modifying firewall settings. Thank you!

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

3 participants