我正在云运行上运行一个Go服务器,它对不同的公共云运行服务B进行REST HTTP调用。当对服务B使用自定义域映射时,对它的任何请求都会出现以下错误:
Get https://<mydomain_name>/api/health: dial tcp: lookup <mydomain_name> on 169.254.169.254:53: no such host
但是,当使用自动分配的云运行URL (例如(https://<myservice_name>-xxxxxxx-ew.a.run.app) )时,请求可以工作。
我能够在浏览器上访问映射的域名,我
因此,我已经将我的可湿性粉剂网站从我的共享主机迁移到了google云服务器。我已经设置了静态ip地址,并将cloudflare上当前的A类型记录编辑为该静态IP地址,将CNAME记录编辑为我的域名。几个小时后,我试图通过SSL证书,通过谷歌云中的SSH工具来保护我的网站,但它说: Warning: The domain 'mydomain.com' resolves to a different IP address than
the one detected for this machine, which is 'mystaticip'. Please f