siddhardh selvam
siddhardh selvam

Reputation: 1

How to check Google Colaboratory's IP Address and port?

Can anyone tell how could I check my google Colaboratory's hosted runtime's IP Address and Port ?

Upvotes: 0

Views: 4387

Answers (1)

SikanderSD
SikanderSD

Reputation: 51

#Gives ip address
!hostname -I

#gives ip address
!curl ipecho.net/plain

#Gives ip addresses with port numbers
!sudo lsof -i -P -n | grep LISTEN

Upvotes: 5

Related Questions