Dotnet app on EC2 Linux port 7070 not accessible

陌路散爱 提交于 2020-07-09 14:04:10

问题


can't connect to an dotnet app running in an aws EC2 instance on port 7070 I've added the port to the security group and when I check if the port is open (netstat -ntlp) I get the output below:

tcp        0      0 127.0.0.1:7070          0.0.0.0:*               LISTEN      27021/dotnet 

Is there anything I'm missing?


回答1:


I was able to fix the issue by downloading nginx to my EC2 instance (https://gist.github.com/soheilhy/8b94347ff8336d971ad0) and forwarding my custom port to port 80

Hopefully this will help!



来源:https://stackoverflow.com/questions/62491794/dotnet-app-on-ec2-linux-port-7070-not-accessible

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!