开发者

ping ip's / hostname in app engine

开发者 https://www.devze.com 2022-12-23 11:59 出处:网络
I\'m trying to ping an ip address and telnet to some port from an app hosted on app engine. I\'ve tried using http://svn.pylucid.net/pylucid/CodeSnippets/ping.开发者_如何学运维py but for some reason i

I'm trying to ping an ip address and telnet to some port from an app hosted on app engine. I've tried using http://svn.pylucid.net/pylucid/CodeSnippets/ping.开发者_如何学运维py but for some reason it failing

Thanks


GAE does not support ICMP nor Telnet.

For communication with outside hosts at the moment only mail/xmpp/http(s) work through the specific API calls.


Note that ICMP messages can only be sent from processes running as root.

Your app on GAE is not running as root. Why bother pinging when you want to telnet anyway?

0

精彩评论

暂无评论...
验证码 换一张
取 消