title: OSError: [WinError 10049] The requested address is not valid in its context
body: <p>When I'm running the code:</p>
  
  <pre><code>name = socket.gethostname()
  
  #ip = socket.gethostbyname(name)
  port = 5000
  
  ip = "90.95.52.220"
  print("Ip server: %s"%ip)
  
  s.bind((ip, port)
  </code></pre>
  
  <p>I get this error: </p>
  
  <blockquote>
    <p>"OSError: [WinError 10049] The requested address is not valid in its context" </p>
  </blockquote>
  
  <p>If I get the IP using socket.gethostbyname(name) it gives me an IP, but by using that IP other people can't connect to my server. What can I do? I read answers at similar questions but none of them worked.</p>