I am facing an issue with the final lab for DO180 course. My image is built with no error, my container started ok, but when I curl http://127.0.0.1:18081/nexus I get "(56) Recv failure: Connection reset by peer" on the first try and then get blank response next if I re-run the same curl command. I should be receiving a default html page back.
Any thought on what I could be doing wrong? I never used Nexus before, so I don't know how else to troubleshoot.
Appreciate any inputs.
@DanielleMartinHello and thanks for sharing. I think the solution may be found from back tracking and double checking a few of the following things:
Double check your code when you created the container, were the ports exposed correctly? You typed 18081 at first then you typed 8081, maybe a typo? Are the ports open and available on your machine? Are you able to curl any other page/website? Finally did you search online using the error message as a search string?
Try turning off the firewall completely (since this is a lab). Try running the command with strace to track results into a file.
curl -x "YOUR COMMAND" --trace-ascii /tmp/dump.txt
I hope these help! Post back how you fixed it.
anyone has a feedback on this?
A collaborative learning environment, enabling open source skill development.