Community discussions

MikroTik App
 
Srv02
just joined
Topic Author
Posts: 7
Joined: Fri Jul 04, 2014 3:50 pm

IP Cloud doesn not return IP Address

Mon Feb 20, 2017 7:23 pm

Hi!
I am trying to get the Public Address for a script from the Cloud function, but nothing returns.
/ip cloud get public-address
#Version: 6.38.1
Could somebody please check?
Thanks in advance!

Best regards,
mike
 
ebernardo
just joined
Posts: 9
Joined: Wed Mar 23, 2016 2:52 am
Location: Brazil
Contact:

Re: IP Cloud doesn not return IP Address

Mon Feb 20, 2017 9:10 pm

Hello,

I tried the following and it stores in a variable called cloud.

[/code]
:global cloud
:global cloud [/ip cloud get public-address]

Emerson.
 
Srv02
just joined
Topic Author
Posts: 7
Joined: Fri Jul 04, 2014 3:50 pm

Re: IP Cloud doesn not return IP Address

Mon Feb 20, 2017 11:42 pm

Thanks mate that worked for me! :-)
:global cloud [/ip cloud get public-address]
:put $cloud
Best regards,
mike