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

Two server on same IP issue #293

Open
nazima-mansoor opened this issue Feb 7, 2025 · 3 comments
Open

Two server on same IP issue #293

nazima-mansoor opened this issue Feb 7, 2025 · 3 comments

Comments

@nazima-mansoor
Copy link

nazima-mansoor commented Feb 7, 2025

My TCP nano http server and screen share http server are running on same ip address with different port. But when my device is connected with wifi without internet access, and both servers are running then my application's webview is not displaying connect Local MJPEG screen sharing and giving me ERR_CONNECTION_TIMED_OUT Error. But If i stop my TCP server and only leave running connect Local MJPEG screen share server then screen sharing in webview is working. @dkrivoruchko do you have any idea about it? Which can help me for this issue.

@dkrivoruchko
Copy link
Owner

It's hard to say based on this information. Can you give a bit more information.

@nazima-mansoor
Copy link
Author

My TCP server is running on local_ip_address:8989
My local MJPEG screen share server is running on local_ip_address:8123
When internet connection is active that time screen sharing works perfectly fine. But when internet connection is not active, only wifi is connected, that time screen share is not working. I am displaying screen share in webview. And webview showing blank screen when not internet connected.

@dkrivoruchko
Copy link
Owner

I suspect that local_ip_address is unavailable if there is no internet connection.
Try to run ScreenStream on localhost

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