我在我的公司网络上建立码头形象有问题。我刚刚开始使用Docker,所以我有下面的Dockerfile,用于hello-world类型的应用程序:
# DOCKER-VERSION 0.3.4
FROM centos:6.4
# Enable EPEL for Node.js
RUN rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
# Install Node.js and npm
RUN yum install -y npm
# Bundle ap
我尝试了从Firefox获得的所有故障排除,但都失败了,但我仍然得到了相同的错误:
The following error was encountered while trying to retrieve the URL: http://vodlocker.com/wv420ypnzarv
Connection to host failed.
The system returned: (110) Connection timed out
The remote host or network may be down. Please try the request again.
我可以用我
Ubuntu 12.10
我会解释第一个问题。有时,当我加载一个网页,它永远不会完成加载,它说不能到达服务器或类似的东西。当我点击那个网站时,终端说它无法解析主机名。因此,我尝试了谷歌的DNS服务器,但没有运气。这很奇怪,因为我从来没有在Windows 7中遇到过这个问题。
cat /etc/resolv.conf
它想出了如下结论:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL
我已经在Kubernetes集群上部署了一个hello-world应用程序。当我在浏览器中通过<cluster ip>:<port>访问这个应用程序时,我得到以下网页:。
我知道在集群之外,您必须通过集群IP和部署文件中指定的端口(在我的示例中是30001)来访问应用程序。在集群内部,您必须使用主节点的本地IP和另一个端口号(在我的例子中是10.111.152.164:8080 )来联系主节点。
我的问题是关于网页的最后一行:
Kubernetes listening in 443 available at tcp://10.96.0.1:443
由于服务已经可以通过其
我有一个ASP.NET应用程序,我经常使用它通过HttpWebRequest读取网页的内容。远程地址没有问题,我的应用程序总是工作得很好。
虽然我不做任何更改,但有时(大约一天一次)我会收到以下错误:
the remote name could not be resolved.
为什么以前解析的DNS名称有时无法解析?