I'm playing around with some server side things in Python and I'd like the program to be able to be used outside of my LAN. What would be the best way about this?
            Asked
            
        
        
            Active
            
        
            Viewed 2,659 times
        
    1 Answers
4
            Off the top of my head you could use an external webpage that returns your ip. For example using the page myip.dnsdynamic.org:
import urllib2
myip = urllib2.urlopen("http://myip.dnsdynamic.org/").read()
 
    
    
        heplat
        
- 100
- 2
