Ask coding questions

← Back to all posts
How do you ping an ip from a repl?
Ardin16

im looking at different tutorials that say how but all are either windows (which slightly changes the code by adding a (-n)) or have nothing to do with repl.it

Voters
Froggo-School
128854465
Ardin16
Comments
hotnewtop
Ardin16

also srry bout the late replies to those who replied before this, the video i followed was this one https://www.youtube.com/watch?v=hDXT6dfTVBk&t=224s

Coder100

what do you mean ping IP? Do you mean making an HTTP request to a server of some sort?

realTronsi

@Coder100 he's trying to get the ip of a repl, which I don't think is possible because it's run on a virtual comp

Coder100

@realTronsi ip of a repl? Seems silly, just get the ip of https://Python-382.ardin16.repl.run I think

Ardin16

not a repl, of a site, but thats what i saw elsewhere as [email protected]

Ardin16

i think so, like get pinging google from chrome crosh, in crosh its ping google.com -c (however many), but i cant find a way to make it work on repl, i might try finding an online IDE or [email protected]