【问题标题】:Unable to connect to local server无法连接到本地服务器
【发布时间】:2017-12-09 13:26:37
【问题描述】:

我正在开发一个使用 pycharm 和 Google Cloud 作为后端的项目。在调试应用程序时,我无法连接到本地主机位置http://127.0.0.1:8080/,而是一直等待。

在控制台窗口中,我看到以下警告。我想知道是什么阻止了连接到http://127.0.0.1:8080/,以及下面列出的警告是否有任何影响?

Connected to pydev debugger (build 171.4694.38)
INFO     2017-07-05 18:25:44,914 api_server.py:272] Starting API server 
at: http://localhost:51197
INFO     2017-07-05 18:25:44,922 dispatcher.py:205] Starting module 
"internal-api" running at: http://127.0.0.1:8080
INFO     2017-07-05 18:25:44,929 admin_server.py:116] Starting admin 
          server at: http://localhost:8000
WARNING  2017-07-05 18:25:44,929 devappserver2.py:766] No default 
          module found. Ignoring.
pydev debugger: process 940 is connecting

pydev debugger: process 941 is connecting  



/Applications/PyCharm.app/Contents/helpers/pydev/_pydevd_bundle/pydevd_xml
    .py:73: 
       RuntimeWarning: Parent module '_pydevd_bundle' not found while handling absolute import
/Applications/PyCharm.app/Contents/helpers/pydev/_pydevd_bundle/pydevd_xml.py:79: RuntimeWarning: Parent module '_pydevd_bundle' not found while handling absolute import
/Applications/PyCharm.app/Contents/helpers/pydev/_pydevd_bundle/pydevd_xml.py:86: RuntimeWarning: Parent module '_pydevd_bundle' not found while handling absolute import
/Applications/PyCharm.app/Contents/helpers/pydev/_pydevd_bundle/pydevd_xml.py:93: RuntimeWarning: Parent module '_pydevd_bundle' not found while handling absolute import

【问题讨论】:

    标签: python python-2.7 google-app-engine pycharm


    【解决方案1】:

    问题已解决。不敢相信自己,这是一个隐藏的断点,我看不到它让发球等待。

    【讨论】:

      猜你喜欢
      • 2018-10-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-07-29
      • 2016-06-30
      • 2014-06-14
      • 1970-01-01
      相关资源
      最近更新 更多