Cat*_*Cat 87 port webserver cherrypy amazon-ec2
我正在0.0.0.0:8787EC2实例上运行CherryPy Web服务器.
我可以通过wgetEC2机器上的本地连接到Web服务器,但是我无法从我自己的远程机器上访问该实例(我通过ssh连接到EC2).
我是否需要打开端口8787以远程访问Web服务器?如果是这样,怎么办呢?另外,我可以使用EC2实例的公共IP吗?
在此先感谢您的帮助!
cyr*_*joe 121
按照此答案中描述的步骤而不是使用下拉列表,在"端口范围"中键入端口(8787),然后键入"添加规则".
Run Code Online (Sandbox Code Playgroud)Go to the "Network & Security" -> Security Group settings in the left hand navigation
dmo*_*ohr 29
您需要在ec2安全组中打开TCP端口8787.还需要在EC2实例的防火墙上打开相同的端口.
小智 13
您需要按照 cyraxjoe 的说明配置安全组。除此之外,您还需要打开系统端口。在 Windows 中打开端口的步骤:-
参考:- Microsoft Docs for port Opening
| 归档时间: |
|
| 查看次数: |
148491 次 |
| 最近记录: |