简体   繁体   English

无法连接到本地服务器

[英]Unable to connect to local server

I am working on a project which uses pycharm and Google Cloud for back end. 我正在研究一个使用pycharm和Google Cloud作为后端的项目。 While debugging the application , I am unable to connect to localhost location http://127.0.0.1:8080/ , and instead keeps waiting forever. 在调试应用程序时,我无法连接到本地主机位置http://127.0.0.1:8080/ ,而是永远等待。

In the console window, I see the below warnings. 在控制台窗口中,我看到以下警告。 I would like to know what is preventing connecting to http://127.0.0.1:8080/ and also if the warnings listed below have any impact?. 我想知道是什么导致无法连接到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

Issue is resolved. 问题已解决。 Can't believe myself, it is a hidden breakpoint which i could not see it which kept the serve waiting. 不敢相信自己,这是一个隐藏的断点,我看不到它使发球等待。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM