Minikube 有 IP - 不能卷曲

Minikube has IP - Can't Curl

Minikube 已启动并且 运行,没有错误,但我无法卷曲 IP。我在这里跟随:https://docs.traefik.io/user-guide/kubernetes/,似乎没有提到关闭防火墙或设置配置以允许 minikube 侦听 IP。这是怎么回事?

patientplatypus:~/Documents/HomePage:15:57:04$minikube ip
192.168.99.114
patientplatypus:~/Documents/HomePage:15:57:10$curl $(minikube ip)
curl: (7) Failed to connect to 192.168.99.114 port 80: Connection refused

你检查过它是否真的运行 在端口 80 上吗?可能是机器 192.168.99.114 上的错误端口或防火墙规则。您可以尝试 nmap 来验证本机上打开了哪些端口。