cbll
cbll

Reputation: 7219

VMWare Workstation Ubuntu box: Expose minikube cluster to Windows host

I'm running VMWare Workstation from Windows 10 with an Ubuntu 18.04 guest.

I am running a minikube cluster on the guest locally -- I can access it inside the guest at http://192.168.99.100:30343

After this, I have mapped it to localhost via: kubectl proxy --port=30343 -- I can now access it as localhost:30343

However, this IP is not exposed to the host. If I go to http://192.168.99.100:30343 from the host, it will time out.

If I do ping 192.168.99.100 from the host, I get a reply:

ping 192.168.31.128

Pinging 192.168.31.128 with 32 bytes of data:
Reply from 192.168.31.128: bytes=32 time<1ms TTL=64
Reply from 192.168.31.128: bytes=32 time<1ms TTL=64
Reply from 192.168.31.128: bytes=32 time<1ms TTL=64

But, going to 192.168.31.128:30343 in my host's browser yields a timeout, whereas going to localhost:30343 inside the Ubuntu guest yields a page as intended.

How do I fetch the page from the host?

Upvotes: 0

Views: 321

Answers (1)

Sagar Mallick
Sagar Mallick

Reputation: 81

Try this : sudo ufw disable. This command disable Ubuntu Firewall

Network State

Upvotes: 1

Related Questions