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

Server not Listen #23

Open
shabirsaddique1 opened this issue Sep 30, 2018 · 20 comments
Open

Server not Listen #23

shabirsaddique1 opened this issue Sep 30, 2018 · 20 comments

Comments

@shabirsaddique1
Copy link

No description provided.

@varunon9
Copy link
Owner

These links might be useful (Go through all comments)
#21
#8
#6
#4
You must be entering wrong ipAddress or not connected in local network.

@shabirsaddique1
Copy link
Author

shabirsaddique1 commented Sep 30, 2018 via email

@shabirsaddique1
Copy link
Author

shabirsaddique1 commented Sep 30, 2018 via email

@varunon9
Copy link
Owner

varunon9 commented Sep 30, 2018

Please check exceptions if nay on terminal/console. Also make sure that you are entering correct ip address (as shown by desktop app) and that your desktop and mobile are connected to same local network.

@varunon9
Copy link
Owner

You can check your ip address using ipconfig (windows) or ifconfig (linux). This IP adress would be same as reported by desktop app.

@Asendo316
Copy link

Hello Have you been able to fix the server not listening error?

@varunon9
Copy link
Owner

This should not happen. Can you confirm your IP address from command line as well as from Desktop app if both are same. You can also visit discussions regarding this issue.

@karuppaiah432
Copy link

Hi sir i have entered correct ipaddress but still show this error can u please provide solution

@Asendo316
Copy link

I was able to fix mine by connecting the mobile app and the desktop app to a dedicated private WiFi network also ensure both the apps are on the same network. I observed that it is very selective of the network it communicates on working on some while returning server not listening on others ...I hope this helps

@pratiksoni1408
Copy link

pratiksoni1408 commented Sep 15, 2019

i connected to same local network and tried on hotspot too but it's showing same issue server not listng and one more issue is there in android studio i have attached an image so u can have a look i hope u reply soon! And i did nothing in netbeans do i need anything to do in it?

cmd.docx

@varunon9
Copy link
Owner

@pratiksoni1408 Please note that you have to import RemoteControlPC-Studio subfolder in Android studio and not root project.
This should be imported in Android Studio https://github.com/varunon9/Remote-Control-PC/tree/master/RemoteControlPC-Studio
This should be imported in Netbeans-
https://github.com/varunon9/Remote-Control-PC/tree/master/RemoteControlPC-JavaFXML

Regarding server not listening-
In case you are connected to wifi/LAN or any other private network, you will have multiple IP-Addresses assigned to your system. Desktop app fails to detect all of them (known bug) so you will have to rely on cmd/terminal for getting actual ip address-
ifconfig in Linux
ipconfig in windows

You can open above generated address in your mobile browser (chrome) to check if it is correct, e.g. try opening both addresses in chrome-

  1. 192.168.43.147 (will work if you have any local server on your machine)
  2. 192.168.43.147:3000 (desktop app will show connected so you can try this now with app)

@pratiksoni1408
Copy link

pratiksoni1408 commented Sep 16, 2019 via email

@pratiksoni1408
Copy link

pratiksoni1408 commented Sep 16, 2019 via email

@pratiksoni1408
Copy link

pratiksoni1408 commented Sep 18, 2019 via email

@varunon9
Copy link
Owner

@pratiksoni1408 socket exception is fine after resetting/closing connection. Did you try above steps for "server not listening" error?

@pratiksoni1408
Copy link

pratiksoni1408 commented Sep 18, 2019 via email

@pratiksoni1408
Copy link

pratiksoni1408 commented Sep 19, 2019 via email

@varunon9
Copy link
Owner

varunon9 commented Sep 19, 2019 via email

@pratiksoni1408
Copy link

pratiksoni1408 commented Sep 19, 2019 via email

@pratiksoni1408
Copy link

pratiksoni1408 commented Sep 20, 2019 via email

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

5 participants