I want to develop a Python script to determine my public IP, but I am facing with trouble. I guess that’s because of network restrictions. Is there a way to solve this issue?
I use the below shell command for the query:
~/queryIPpy$ dig +short myip.opendns.com @resolver1.opendns.com
;; communications error to 208.67.222.222#53: timed out
;; communications error to 208.67.222.222#53: timed out
;; communications error to 208.67.222.222#53: timed out
;; no servers could be reached
Is there any kind of firewalled Repls?
I started with a Python Repl.
I could make some investigation for filtering, but I’m afraid I couldn’t modify it.
My opinion is that Replit restricts network traffics in order to security purposes.