簡體   English   中英

無法連接到本地服務器

[英]Unable to connect to local server

我正在研究一個使用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

問題已解決。 不敢相信自己,這是一個隱藏的斷點,我看不到它使發球等待。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM