Curl amazon EC2 instance

前端 未结 1 1359
别跟我提以往
别跟我提以往 2021-01-07 01:49

I have a web server running on an Ubuntu Amazon EC2 instance at port 3000. 15.0.0.10 is the private ip of this EC2 instance.

After I ssh into this insta

相关标签:
1条回答
  • 2021-01-07 02:29

    You need to ensure that the server is running on 0.0.0.0 if you need it to be reachable by addressing any IP of the instance.

    If you have started it on localhost (127.0.0.1), then the behavior is expected. You can stop the server and re-start it to bind to 0.0.0.0:3000. Things should work.

    0 讨论(0)
提交回复
热议问题