我在www.example.appspot.com上託管了我的項目,我想註冊一個需要我的公共IP地址的服務。我如何獲取我的應用程序引擎項目的IP地址。謝謝。獲取Google App引擎的公共IP地址項目
回答
您可以使用任何DNS查找工具來獲取主機地址。
例如在Linux上,你會得到的東西沿着這些路線:
$ nslookup www.example.appspot.com
...
Non-authoritative answer:
www.example.appspot.com canonical name = appspot.l.google.com.
Name: appspot.l.google.com
Address: 216.58.219.241
$ host www.example.appspot.com
www.example.appspot.com is an alias for appspot.l.google.com.
appspot.l.google.com has address 216.58.219.241
appspot.l.google.com has IPv6 address 2607:f8b0:4006:80e::2011
appspot.l.google.com mail is handled by 10 alt1.gmr-smtp-in.l.google.com.
appspot.l.google.com mail is handled by 40 alt4.gmr-smtp-in.l.google.com.
appspot.l.google.com mail is handled by 5 gmr-smtp-in.l.google.com.
appspot.l.google.com mail is handled by 30 alt3.gmr-smtp-in.l.google.com.
appspot.l.google.com mail is handled by 20 alt2.gmr-smtp-in.l.google.com.
216.58.219.241讓你在谷歌搜索頁面 – Kingsmentor
該地址將被許多/所有GAE應用程序共享,可能還有其他Google服務,這是預期的。如果您希望爲您的應用程序提供專用IP,那麼也可以使用:https://cloud.google.com/appengine/docs/python/console/using-custom-domains-and-ssl#purchase_a_vip –
谷歌AppEngine上沒有一個單一的IP。它運行在谷歌網絡上的不同地區的大量機器上,因此它有很多IP地址(或範圍)。
這裏是你如何能找到這些範圍:
運行dig -t txt _cloud-netblocks.googleusercontent.com
CIDR塊
部分列表: 8.34.208.0/20 8.35.192.0/21 8.35.200.0/23 23.236.48.0/20 23.251.128.0/19 107.167.160.0/19 107.178.192.0/18 108.170.192.0/20 108.170.208.0/21 108.170.216.0/22 108.170.220.0/23 108.170.222.0/24 108.59.80.0/20 130.211.4.0/22 146.148.16.0/20 146.148.2.0/23 146.148.32.0/19 146.148.4.0/22 146.148.64.0/18 146.148.8.0/21 162.216.148.0/22 162.222.176.0/21 173.255.112.0/20 192.158.28.0/22 199.192.112.0/22 199.223.232.0/22 199.223.236.0/23
- 1. Google App引擎:公開IP地址子網用於白名單
- 2. 在javascript中獲取公共ip地址
- 3. 獲取公共(遠程)IP地址
- 4. 公共IP地址
- 5. Google App引擎支付網關動態IP地址要求
- 6. 虛擬公共IP地址
- 7. 是公共IP地址嗎?
- 8. 從部署的應用程序獲取Azure公共IP地址
- 9. 性能:獲取C#中的公共IP地址#
- 10. AWS Cloud Formation - 如何獲取公共ip地址的ec2實例
- 11. 通過XirSys獲取我的公共IP地址請求
- 12. 使用scala獲取當前機器的公共IP地址
- 13. 如何在C#中獲取用戶的公共IP地址
- 14. 更改EC2實例的公共IP地址彈性IP地址
- 15. amazon aws ec2公共IP地址
- 16. 獲取websocket的應用引擎IP地址
- 17. 在Google App Engine + Python中獲取IP地址
- 18. 在GWT和Google App Engine中獲取客戶端IP地址
- 19. 在MVC 4中獲取公共IP地址,客戶機的Lan IP地址和MAC地址?
- 20. 如何在Ubuntu中獲取公共IP地址
- 21. 在當前EC2實例上獲取公共IP地址
- 22. SQL查詢選擇公共IP地址
- 23. Google App Engine服務器IP地址
- 24. Google App Engine - IP地址列表?
- 25. 遠程獲取公共IP
- 26. 在Golang獲取公共IP
- 27. Google雲計算引擎切換的外部IP地址
- 28. 獲取IP地址
- 29. 獲取IP地址
- 30. 獲取IP地址
可以提供更多的細節?它是如何需要的?你可以從主機www.yourodmain.com獲得IP地址,你可以用它來註冊。但你必須明白這是一個短暫的地址,可以在任何時候改變(很可能你會得到幾個不同的IP) –