Some people who not too understand about computer networking they will get confused with this question "How to Know My Public IP Address". Actually this process was simple, but maybe some of you not get the clear information what is the real Public IP Address.
Some of my friend (they have a little background about IT) when I ask "How to Know your Public IP Address"? they will answer "Ah I have an internet connection", or "I have a personal router and I can configure it by myself", or "I think yes I have a public IP Address" 😛
When you have an internet connection, or you have personal router, doesn't guarantee that you also have a public IP address, because most of internet provider they will share and divide the bandwidth into some pieces (the internet provider will do the calculations, you can ask them about this 🙂 ). Usually you need to spent some money to get/rent this public IP address and the price is higher than usual/normal.
Before start, if you have router, switch or other network mediator unplug it first. Make sure your computer connected directly to the internet source.
1. The box below will show your current public IP address.
2. Open command prompt in Windows or Terminal in Linux (view the tutorial here if you don't know how to do that) and type ipconfig.
or you can use this code (in Windows):
copy and paste the code above into your notepad and save as ipconfig.bat.
Remember: when save as, make sure when notepad ask "Save as Type" you choose "All Files"
3. This is your computer current IP Address:
4. If your computer current IP address and the box in the 1st step have the same result, then you have a public IP address. If not, then you didn't have public IP address.
Hope it useful 🙂