<p>I have created one service called <strong>fleetman-webapp</strong>:</p>

<pre><code>apiVersion: v1
kind: Service
metadata:
 name: fleetman-webapp

spec:
 selector:
  app: webapp

 ports:
  - name: http
    port: 80
    nodePort: 30080

 type: NodePort
</code></pre>

<p>also, a pod named <strong>webapp</strong>:</p>

<pre><code>apiVersion: v1
kind: Pod
metadata:
 name: webapp
 labels:
  app: webapp
spec:
 containers:
 - name: webapp
   image: richardchesterwood/k8s-fleetman-webapp-angular:release0
</code></pre>

<p>I have checked the <strong>minikube ip</strong>:</p>

<p><strong><em>192.168.99.102</em></strong></p>

<p>But when I type in the browser <strong>192.168.99.102:30080</strong>, the webapp is not reachable:<a href="https://i.stack.imgur.com/v6GiX.png" rel="noreferrer"><img src="https://i.stack.imgur.com/v6GiX.png" alt="enter image description here"></a></p>

<p>Please note that I use Ubuntu latest version. I have verified furthermore if proxies and firewalls are active:</p>

<p><strong>cat /etc/environment</strong>:</p>

<pre><code>PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
</code></pre>

<p><strong>iptables -L</strong>:</p>

<pre><code>Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy DROP)
target     prot opt source               destination         
DOCKER-USER  all  --  anywhere             anywhere            
DOCKER-ISOLATION-STAGE-1  all  --  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ESTABLISHED
DOCKER     all  --  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere            

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         

Chain DOCKER (1 references)
target     prot opt source               destination         

Chain DOCKER-ISOLATION-STAGE-1 (1 references)
target     prot opt source               destination         
DOCKER-ISOLATION-STAGE-2  all  --  anywhere             anywhere            
RETURN     all  --  anywhere             anywhere            

Chain DOCKER-ISOLATION-STAGE-2 (1 references)
target     prot opt source               destination         
DROP       all  --  anywhere             anywhere            
RETURN     all  --  anywhere             anywhere            

Chain DOCKER-USER (1 references)
target     prot opt source               destination         
RETURN     all  --  anywhere             anywhere 
</code></pre>

<p>I have also disabled <strong>ufw</strong> in Ubuntu, but no success, the url <strong>192.168.99.102:30080</strong> .</p>

<p>Would you help me please ? thanks in advance for your answer. </p>

<p>Even though, you are exposing port 30080 via NodePort in minikube, minikube will still not expose it because it will use its own external port to listen to this service. Minikube tunnels the service to expose to the outer world. To find out that exposed port:</p>
<pre><code>minikube service $SERVICE_NAME
</code></pre>
<p>so, in your case</p>
<pre><code>minikube service fleetman-webapp
</code></pre>
