求助:OE AllInOne 6 WEB问题
-
在你的本机的防火墙上允许 8080 端口即可.(或者你禁用掉windows 的防火墙)
要修改端口.
进到 你的 OpenERP All In One 的 Web 文件夹中的 conf 文件夹
用文本编辑软件打开openerp-web.cfg 文件.
找到<br /><br />server.socket_host = "0.0.0.0"<br />server.socket_port = 8080<br /><br />
其中
server.socket_port = 8080
的8080 就是你要修改的端口.
修改后, 重启你的 All In One 服务( PostgreSQL 服务, OpenERP server 服务, OpenERP Web 服务), 不知道怎么启动服务的话, 重启你的电脑也可以. -
重装XP系统,修改了端口,重启电脑,http://192.168.1.88:80还是打不开,http://192.168.1.88:8080反倒能打开,这就奇怪了
<br />[global]<br />server.environment = "development"<br /><br /># Some server parameters that you may want to tweak<br />server.socket_host = "0.0.0.0"<br />server.socket_port = 80<br /><br /># Sets the number of threads the server uses<br />server.thread_pool = 10<br /><br />tools.sessions.on = True<br />tools.sessions.persistent = False<br /><br /># Simple code profiling<br />server.profile_on = False<br />server.profile_dir = "profile"<br /><br /># if this is part of a larger site, you can set the path<br /># to the TurboGears instance here<br />#server.webpath = ""<br /><br /># Set to True if you are deploying your App behind a proxy<br /># e.g. Apache using mod_proxy<br />#tools.proxy.on = True<br /><br /># If your proxy does not add the X-Forwarded-Host header, set<br /># the following to the *public* host url.<br />#tools.proxy.base = 'http://mydomain.com'<br /><br /># logging<br />#log.access_file = "/var/log/openerp-web/access.log"<br />#log.error_file = "/var/log/openerp-web/error.log"<br />log.access_level = "INFO"<br />log.error_level = "INFO"<br /><br /># OpenERP tools<br />tools.nestedvars.on = True<br /># Set to false to disable CSRF checks<br />tools.csrf.on = True<br /><br /># OpenERP Server<br />openerp.server.host = 'localhost'<br />openerp.server.port = '8070'<br />openerp.server.protocol = 'socket'<br />openerp.server.timeout = 450<br /><br /># Web client settings<br />[openerp-web]<br /># filter dblists based on url pattern?<br /># NONE: No Filter<br /># EXACT: Exact Hostname<br /># UNDERSCORE: Hostname_<br /># BOTH: Exact Hostname or Hostname_<br /><br />dblist.filter = 'NONE'<br /><br /># whether to show Databases button on Login screen or not<br />dbbutton.visible = True<br /><br /># will be applied on company logo<br />company.url = ''<br />