Skip to content

The obtained external IP is not a real public IP address. #17

Description

@masx200
const NatAPI = require('nat-api')

const client = new NatAPI()


// Get external IP
client.externalIp(function(err, ip) {
  if (err) return console.log('Error', err)
  console.log('External IP:', ip)
})

External IP: 192.168.1.8

The obtained external IP is not a real public IP address.

You should request a website that can view the public IP address to get the real public external IP.

https://db-ip.com/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions