title: Server not receiving message from client with correct IP and port opened
body: <p>What can cause this to happen? </p>
  
  <p>I moved my laptop to a friends house to work on this project.  I opened the same port on his xfinity router, and changed all areas of my code to his IP.  However it appears that the client is sending a message and the server has never getting past this part of code</p>
  
  <pre><code>System.out.println("running server!");
          int nreq = 1;
          try{
              //SET ME PORT
              ServerSocket sock = new ServerSocket(7332);
          for(;;){
              Socket newsock = sock.accept();
              System.out.println("Creating thread...");
              //Broken Old Login crap, needs reworked for map n stuff anyhow now
          //  Thread t = new ThreadHandler(newsock, nreq);
              Thread t = new RequestInterpreter(newsock, nreq);
              //t.run();
              t.start();
              nreq++;
          }
          }
          catch(Exception e)
          {
              e.printStackTrace();
          }    
  </code></pre>
  
  <p>It never gets to print "Creating thread".  I'm not sure where to begin with what could be going wrong here?</p>
  
  <p>The only thing that has changed is the house, IP, router, and internet.  Works everywhere else.   What about those changing  could block the client from sending a</p>
  
  <p>Here is a test client I wrote also.  </p>
  
  <pre><code>import java.io.DataInputStream;
  import java.io.PrintWriter;
  import java.net.Socket;
  
  
  
  
  public class testClientConnection {
  
      public static void main(String[] args) {
  
          System.out.println("Starting testConnection");
          try{            
  
          Socket s = new Socket("xx.xx.xx.xxx", 7332);        
  
          DataInputStream fromServer = new DataInputStream(s.getInputStream());  
          PrintWriter toServer = new PrintWriter(s.getOutputStream(), true);    
          toServer.println("account name");
          toServer.println("password");
          toServer.println("Login");
  
          System.out.println("Sent message...");
  
          String response = fromServer.readLine().toString();
          //Toast the result here?  //testing
  
          System.out.println("response: " + response);
          if (response.equals("Login Success")) {
  
  System.out.println("Login Success!!!");
          }
          }
          catch(Exception e){   /         
          }       
      }
  }
  </code></pre>
  
  <p>HUGE UPDATE!  </p>
  
  <p>Ok so my client was an android phone and I turned the wifi off, so it fell onto 4g-LTE.  Then it worked.  So... Something is blocking the client side code.  What might that be?</p>