Reading my own ip-address

Matthew Dixon Cowles matt at
Wed May 30 01:27:37 CEST 2001

On Wed, 30 May 2001 00:00:06 +0200, Charlie Clark
<charlie at> wrote:

>I would like to know what the ip-adress of my dial-up connection is.

Because of the way TCP/IP is designed, there is no general solution
for doing that. If go to Google and search its Usenet archives for the
phrase "local ip" in comp.lang.python you'll find various explanations
and some techniques that may work in your situation.  Specifically,


May do what you want.


More information about the Python-list mailing list