Welcome to the Linux Foundation Forum!

Lab 3.5. Access from Outside the Cluster

i would like to know what i did wrong? when i do the following command i should get an IP

student@cp:~$ curl ifconfig.io/ip
2806:2f0:7281:f7b2:a00:27ff:fe8e:40b7

student@cp:~$ curl ifconfig.co/json
{
"ip": "2806:2f0:7281:f7b2:a00:27ff:fe8e:40b7",

Comments

  • chrispokorni
    chrispokorni Posts: 2,155

    Hi @eporart,

    From your output it seems that an IP address was returned by the command - an IPv6 IP address. Depending on the system, the curl ifconfig.io command may return an IPv6 or an IPv4 IP address. For an IPv4 IP address try curl ifconfig.me instead.

    Regards,
    -Chris

  • eporart
    eporart Posts: 26

    thanks Chris: ifconfig.me working now

Categories

Upcoming Training