dongyanhu5628 2018-01-23 17:50
浏览 138
已采纳

为什么AWS Cloud9 IDE在端口8080上访问内置PHP服务器时会出现“不支持的SSL”错误?

(1) Spun up a brand new Cloud9 IDE (2) Checked out my code, set up config. (3) Ran index.php with the built-in runner "PHP (built-in web server)"

Runner output indicates the following:

Starting PHP built-in web server, serving https://XX.XX.XX.XX/. PHP 5.6.32 Development Server started at Tue Jan 23 17:38:57 2018 Listening on http://0.0.0.0:8080 Document root is /home/ec2-user/environment Press Ctrl-C to quit.

However, attempting to access https://XX.XX.XX.XX:8080/ in a new tab produces the following error indication in the runner log:

Invalid request (Unsupported SSL request)

In my EC2 control, I added TCP ports 8080-8082 to the inbound rules list for 0.0.0.0, /0

Oddly, this seems to be new behavior; previously I've been able to bring up the application in a web browser tab with no trouble. Has anyone else run into and resolved this issue?

  • 写回答

1条回答 默认 最新

  • douchen2025 2018-01-23 18:14
    关注

    And the solution turned out to be super simple: Don't use SSL in the web browser. Accessing it at http://XX.XX.XX.XX:8080/ solved the problem.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 一个服务器已经有一个系统了如果用usb再装一个系统,原来的系统会被覆盖掉吗
  • ¥15 使用esm_msa1_t12_100M_UR50S蛋白质语言模型进行零样本预测时,终端显示出了sequence handled的进度条,但是并不出结果就自动终止回到命令提示行了是怎么回事:
  • ¥15 前置放大电路与功率放大电路相连放大倍数出现问题
  • ¥30 关于<main>标签页面跳转的问题
  • ¥80 部署运行web自动化项目
  • ¥15 腾讯云如何建立同一个项目中物模型之间的联系
  • ¥30 VMware 云桌面水印如何添加
  • ¥15 用ns3仿真出5G核心网网元
  • ¥15 matlab答疑 关于海上风电的爬坡事件检测
  • ¥88 python部署量化回测异常问题