title: Python can't connect to open socket on the same network
body: <p>I have started a simple python socket, and I can freely connect to it from my <strong>local</strong> computer, but from iPad and another computer, I can't access it! What I am doing wrong? Here is my code:</p>
  
  <pre><code>from socket import socket
  
  server = socket()
  server.bind(("", 80))
  server.listen(2)
  message = """\
  &lt;/pre&gt;&lt;br&gt;&lt;br&gt;&lt;h1&gt;Hi!&lt;/h1&gt;&lt;/body&gt;&lt;/html&gt;
  """
  
  while 1:
      c, a = server.accept()
      print "New connection from %s:%s"%tuple(a)
      c.sendall("&lt;html&gt;&lt;head&gt;&lt;title&gt;Hi!&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;pre&gt;"+c.recv(4096*20)+message)
      c.close()
  </code></pre>
  
  <p><strong>EDIT</strong></p>
  
  <p>Btw, I am using Linux Fedora 18. On Windows, I didn't have problems with sockets.</p>