How To See Public Ip Address

Posted : admin On 1/26/2022

You may also use 3rd party websites such as Geobytes or Dnsstuff to lookup the IP address. The whois lookup will reveal name of the ISP who owns that IP address, and the country where it is originated from. If you're lucky, you might also find the city of orgin. Even so, we can see that a public IP address has been assigned to the instance (34.209.60.144). Keep in mind that I did not actually do anything to assign this IP address to the instance. The instance was created using default options and AWS assigned the public IP address to the instance automatically.

  1. How To Find Public Ip
  2. How To See My Public Ip Address
How To See Public Ip Address

As an Amazon WorkSpaces user, I want to find out the public IP address that my WorkSpace uses when I browse the internet. How can I do that?

  1. Invoke-WebRequest ifconfig.me/ip Source. Edit: I misread the question and thought you needed to use Powrshell. There is no built in command in cmd.exe to return a public IP address. But you can use nslookup to resolve it, like so; nslookup myip.opendns.com. Resolver1.opendns.com Another option for the OP: telnet curlmyip.com 80.
  2. All of this is public and online, and you can check your own address using ARIN’s search tools. So the only real thing you have to do to get location information from an IP address is have a table of all the different allocations that IANA, ARIN, and others have made; then, you could simply search the table like any other database.
  3. Your internal IP address is what your router dishes out to all the devices connected to it. It handles all the “routing,” hence the name, for data packets that travel in and out of your network.

Resolution

The steps to identify the public IP address that is used differs depending on how you access the internet from your WorkSpace. Follow the steps below for your WorkSpace configuration.

WorkSpace located in a public subnet

  1. Open the Amazon WorkSpaces console.
  2. Select the arrow next to your WorkSpace ID to expand the WorkSpace details. Take note of the WorkSpace IP.
  3. Open the Amazon EC2 console, and then choose Network Interfaces from the Network & Security section of the navigation pane.
  4. In the search box, enter the WorkSpace IP from step 2.
  5. Select the network interface associated with this WorkSpace IP address.
  6. From the Details tab, you can see the Public IPv4 address that your WorkSpace uses when you browse the internet.

WorkSpace located in a private subnet using a NAT gateway

  1. Open the Amazon WorkSpaces console.
  2. Select the arrow next to your WorkSpace ID to expand the WorkSpace details. Note the WorkSpace IP.
  3. Open the Amazon EC2 console, and then choose Network Interfaces from the Network & Security section of the navigation pane.
  4. In the search box, enter the WorkSpace IP from step 2.
  5. Select the network interface associated with this WorkSpace IP address.
  6. From the Details tab, choose the hyperlinked Subnet ID.
  7. Select the subnet. From the Route table tab, you can see the NAT gateway associated with this subnet. Choose the hyperlinked security group.
  8. From the Details tab, you can see the Elastic IP address that your WorkSpace uses when you browse the internet.

WorkSpace located in a private subnet using a NAT instance

How To Find Public Ip

  1. Open the Amazon WorkSpaces console.
  2. Select the arrow next to your WorkSpace ID to expand the WorkSpace details. Note the WorkSpace IP.
  3. Open the Amazon EC2 console, and then choose Network Interfaces from the Network & Security section of the navigation pane.
  4. In the search box, enter the WorkSpace IP from step 2.
  5. Select the network interface associated with this WorkSpace IP address.
  6. From the Details tab, choose the hyperlinked Subnet ID.
  7. Select the subnet. From the Route table tab, you can see the NAT instance elastic network interface associated with this subnet. Choose the hyperlinked network interface.
  8. From the Details tab, you can see the IPv4 Public IP address that your WorkSpace uses when you browse the internet.

How To See My Public Ip Address

Related information