|
Re: Unable to connect to MongoDB server on driver station laptop
Today we tried with the static IP (10.18.85.5 for the driver station) and we still weren't getting any connection for our web server. We added the following code:
InetAddress inet =
InetAddress.getByAddress(
new byte[] { 10, 18, 85, 5});
System.out.println("Sending Ping Request to " + inet);
System.out.println(inet.isReachable(5000) ?
"Host is reachable" :
"Host is NOT reachable");
On the practice field and pit we see " Host is reachable "
On the FMS field we are seeing "Host is NOT reachable"
I'm going to tell the programming team to add this check on the teleop code to see if we still have this problem once we are no longer in autonomous.
Also we have disabled the windows firewall on the driver's station.
|