Python firefox可以';在Fedora core中运行cherrypy教程示例时,不要与localhost建立连接

Python firefox可以';在Fedora core中运行cherrypy教程示例时,不要与localhost建立连接,python,Python,我的配置 [global] server.socket_host = "0.0.0.0" server.socket_port = 8080 server.thread_pool = 10 server.environment = "production" server.showTracebacks = "True" server.logToScreen = "False" 我无法访问“root” 请建议我将您的套接字主机地址设置为“localhost”或正确的ip地址 [global] se

我的配置

[global]
server.socket_host = "0.0.0.0"
server.socket_port = 8080
server.thread_pool = 10
server.environment = "production"
server.showTracebacks = "True"
server.logToScreen = "False"
我无法访问“root”


请建议我将您的套接字主机地址设置为“localhost”或正确的ip地址

[global]
server.socket_host = ""
server.socket_port = 8080
[编辑:]

cherrypy<3.0中似乎有一个bug

server.socket\u主机


此设置将CherryPy绑定到特定ip地址。这通常不是必需的,因为CherryPy默认情况下会侦听任何传入的连接。例外情况是,应用程序在同时具有IPv4和IPv6网络堆栈的系统上运行时。默认情况下,CherryPy服务器将仅侦听IPv6接口。通常,要在所有IPv4接口上侦听,您会将server.socket_host设置为'0.0.0.0',但不幸的是,由于CherryPy中的错误,您是否有任何防火墙处于活动状态?您正在运行哪个版本的CherryPy?版本<3.0中似乎有一个bug。你能查一下吗?