title: How do I connect multiple computers to a socket server?
body: <p>I am making a small python based chat application using the socket and threading packages.</p>
  
  <p>One part of the application is a server, which works as intended.
  The other part is the client side application, which also pretty much works fine.
  The client enters the desired host IP and Port the host has opened for the server. I can connect a local client to a server I have running (a client and server on the same computer), however when I try to connect to a server with another computer running a client, I get a TimeoutError;</p>
  
  <pre><code>Exception in Tkinter callback
  Traceback (most recent call last):
    File "C:\Users\user\Documents\lib\tkinter\__init__.py", line 1705, in __call__
      return self.func(*args)
    File "C:\Users\user\Desktop\Client.py", line 46, in connect
      client_socket.connect(ADDR)
  TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
  </code></pre>
  
  <p>Not sure why this happens. I thought the port might be blocked but I haven't found any examples of anyone else with this particular problem after google searching.</p>
  
  <p>I have uploaded both the server and client side applications to a github repository; <a href="https://github.com/gamer1117/chatapplication" rel="nofollow noreferrer">https://github.com/gamer1117/chatapplication</a></p>
  
  <p>All help is appreciated.</p>