初始阶段项目在ECS运行起来,在本地如何访问呢
来源:4-5 删改部分文件完成项目初始模板
李嘉图principal
2019-06-15
ssh://root@116.62.xxx.89:22/root/.local/share/virtualenvs/zanhu-jekMwleo/bin/python -u /home/zanhu/manage.py runserver 116.62.xxx.89:8000
Watching for file changes with StatReloader
Performing system checks…
System check identified no issues (0 silenced).
June 15, 2019 - 00:47:03
Django version 2.2.2, using settings 'config.settings.local’
Starting development server at http://116.62.xxx.89:8000/
Quit the server with CONTROL-C.
Error: That IP address can’t be assigned to.
Process finished with exit code 1
116.62.xxx.89 这个是外网ip 但是我开发机上访问不了啊 ECS安全组配置8000端口也是允许访问的,怎么搞?
老师这个192.168.10.133:8000这个哪里来??
1回答
-
你用的云服务器IP要改成0.0.0.0 这个回答总结了: http://coding.imooc.com/learn/questiondetail/121485.html
我是笔记本里的虚拟机
052019-10-17
相似问题