SpinTheMic
Pro

Interview practice question

App works on the server but not from outside

Cloud & DevOps · Networking Fundamentals · Beginner

curl localhost:3000 works on a server, but the same app is unreachable from other machines. What is the most likely cause?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • App bound to 127.0.0.1 only.
  • Check with ss -tlnp.
  • Bind to 0.0.0.0 or private IP.
  • Then check firewall/security group.
  • Containers: publish ports.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics