Python Socket | How To Get Website IP Address | Get Remote Machine IP Address
Get the source codes:
Affiliate Links:
Python Crash Course, 2nd Edition
https://amzn.to/35jvHw5
Best Book On Django – Django 3.0 By Example
https://amzn.to/3dJbvr4
In this Python Socket video i want to show you How To Get Website IP Address or how to Get Remote Machine IP Address.Sometimes, you need to translate a machine’s hostname into its corresponding IP Address,
for example, a quick domain name lookup. This article introduces a simple function to do that.
If you need to know the IP Address of a Website, you can use a built-in library function, gethostbyname(). In this case, you need to pass the remote hostname as its parameter.
ip address