Use ip address in mit app inventor

Hi ,
i am building an app where an user clicks on a button and the button redirects to a webpage that belongs to the ip address . How can this be done ?
Secondly , is there any feature on mit app inventor where i can check if i am connected to a wifi ?
Yours Sincerely
Alen Varghese Ninan

https://groups.google.com/g/mitappinventortest/c/iRgyTGMR7dE

Something like this?