Service ports not working from localhost
See original GitHub issuePlease run microk8s.inspect
and attach the generated tarball to this issue.
We appreciate your feedback. Thank you for using microk8s.
I’m unable to access services exposed via NodePorts from localhost on the machine running microk8s, but am able to access the services from off box using the NodePort. For example, I’m running microk8s on nuc5.wittlesouth.com
. You can see that I get an empty JSON object response from the registry service running on that node via curl:
Erics-2018-MBP:~ eric$ curl nuc5.wittlesouth.com:32000/v2/
{}Erics-2018-MBP:~ eric$
And when I run the same request from on box, the request hangs with no response:
Erics-2018-MBP:~ eric$ ssh ericw@nuc5.wittlesouth.com
ericw@nuc5:~$ curl localhost:32000/v2/
^C
This is a brand-new install done earlier today.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:12 (5 by maintainers)
Top Results From Across the Web
Ports not opening on localhost
Hello,. I am currently trying to open my ports on FiveM for port 30125 to allow other people to connect to the server...
Read more >Localhost Refused to Connect - How to Fix the Error
How to Solve the Localhost Refused to Connect Error? · 1. First, stop all instances running in WAMP with the End Task button....
Read more >Localhost cannot be reached error when port 8080 is not ...
Host 'localhost (127.0.0.1)' could not be reached on port 8080. ... that is running on the Tobii Pro Lab computer can allocate this...
Read more >localhost, 127.0.0.1 and hosts file are not working on a ...
There was another service in background which was somehow blocking some resources (probably port 680) denying access to the backend.
Read more >Why is localhost not working?
Go to Your XAMPP Control panel. · Click on apache > config > Apache (httpd.conf) · Search for Listen 80 and replace with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I see you have IPv6 in your nodes. Could you try the suggestion found here https://github.com/ubuntu/microk8s/issues/196#issuecomment-443869365 or disable IPv6?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.