View Single Post
  #8   Spotlight this post!  
Unread 20-03-2016, 12:16
coconnell84 coconnell84 is offline
Registered User
FRC #1885
 
Join Date: Mar 2016
Location: Fairfax, VA
Posts: 6
coconnell84 is an unknown quantity at this point
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.
Reply With Quote