首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >PGAdmin 4未在Windows11中启动

PGAdmin 4未在Windows11中启动
EN

Stack Overflow用户
提问于 2022-01-11 16:57:50
回答 1查看 965关注 0票数 1

我试图在Windows11上运行PGadmin 4。Postgres本身在命令行上正常工作。但是在启动PGadmin 4时,我会得到以下错误。

代码语言:javascript
运行
复制
2022-01-11 22:04:00,717: WARNING    werkzeug:   WebSocket transport not available. Install simple-websocket for improved performance.

 * Serving Flask app "pgadmin" (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off

Traceback (most recent call last):
  File "D:\PostgreSQL\14\pgAdmin 4\web\pgAdmin4.py", line 230, in <module>
    main()
  File "D:\PostgreSQL\14\pgAdmin 4\web\pgAdmin4.py", line 213, in main
    socketio.run(
  File "D:\PostgreSQL\14\pgAdmin 4\python\lib\site-packages\flask_socketio\__init__.py", line 596, in run
    app.run(host=host, port=port, threaded=True,
  File "D:\PostgreSQL\14\pgAdmin 4\python\lib\site-packages\flask\app.py", line 990, in run
    run_simple(host, port, self, **options)
  File "D:\PostgreSQL\14\pgAdmin 4\python\lib\site-packages\werkzeug\serving.py", line 1052, in run_simple
    inner()
  File "D:\PostgreSQL\14\pgAdmin 4\python\lib\site-packages\werkzeug\serving.py", line 996, in inner
    srv = make_server(
  File "D:\PostgreSQL\14\pgAdmin 4\python\lib\site-packages\werkzeug\serving.py", line 847, in make_server
    return ThreadedWSGIServer(
  File "D:\PostgreSQL\14\pgAdmin 4\python\lib\site-packages\werkzeug\serving.py", line 740, in __init__
    HTTPServer.__init__(self, server_address, handler)
  File "socketserver.py", line 452, in __init__
  File "http\server.py", line 140, in server_bind
  File "socket.py", line 756, in getfqdn
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 i`enter code here`n position 0: invalid start byte
EN

回答 1

Stack Overflow用户

发布于 2022-02-18 15:23:59

是的,pgadmin与windows 11兼容。您的服务器在后台运行吗?从您提供的错误消息中,我认为pgadmin无法找到任何需要处理的服务器请求,或者需要将Postgress的端口号设置为默认值。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/70670588

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档