This guide will help you to Find Your Public IP address in #Ubuntu 20.04 LTS.
ipconfig stands for Internet Protocol Configuration, while ifconfig stands for Interface Configuration.
The #ifconfig command is supported by Unix-based operating systems.
The ipconfig command displays all the currently connected network interfaces whether they are active or not.
The presence of a #public IP #address on your router or computer will allow you to organize your own server (VPN, FTP, WEB, etc.), remote access to your computer, video surveillance cameras, and access them from anywhere in the global network.
To Find Local / Public IP Address in #Ubuntu 20.04:
Open Settings and navigate to Network in left pane.
Click on the gear icon under connected wired network.
In the pop-up it shows the detailed information including your IP address.
To find my IP address and port number in Linux:
i. All you have to do is type “netstat -a” on Command Prompt and hit the Enter button.
ii. This will populate a list of your active TCP connections.
iii. The port numbers will be shown after the IP address and the two are separated by a colon.