2017-07-05 253 views
0

我正在使用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 

回答

0

問題已解決。不能相信我自己,這是一個隱藏的斷點,我無法看到它保持服務器等待。

相關問題