Odoo Help


cannot access the localhost:8069

Mohsin khan
on 3/20/13, 7:43 AM 60,703 views

==== When i open localhsot:8069 then this error is appear i am new in erp help me====

OpenERP Server Error

Client Traceback (most recent call last):
  File "C:\Program Files (x86)\OpenERP 7.0-20130319-002358\Server\server\openerp\addons\web\http.py", line 203, in dispatch
  File "C:\Program Files (x86)\OpenERP 7.0-20130319-002358\Server\server\openerp\addons\web\controllers\main.py", line 747, in get_list
  File "C:\Program Files (x86)\OpenERP 7.0-20130319-002358\Server\server\openerp\addons\web\controllers\main.py", line 89, in db_list
  File "C:\Program Files (x86)\OpenERP 7.0-20130319-002358\Server\server\openerp\addons\web\session.py", line 31, in proxy_method
  File "C:\Program Files (x86)\OpenERP 7.0-20130319-002358\Server\server\openerp\addons\web\session.py", line 104, in send

Server Traceback (most recent call last):
  File "C:\Program Files (x86)\OpenERP 7.0-20130319-002358\Server\server\openerp\addons\web\session.py", line 90, in send
  File "C:\Program Files (x86)\OpenERP 7.0-20130319-002358\Server\server\.\openerp\netsvc.py", line 293, in dispatch_rpc
  File "C:\Program Files (x86)\OpenERP 7.0-20130319-002358\Server\server\.\openerp\service\web_services.py", line 122, in dispatch
  File "C:\Program Files (x86)\OpenERP 7.0-20130319-002358\Server\server\.\openerp\service\web_services.py", line 359, in exp_list
  File "C:\Program Files (x86)\OpenERP 7.0-20130319-002358\Server\server\.\openerp\sql_db.py", line 484, in cursor
  File "C:\Program Files (x86)\OpenERP 7.0-20130319-002358\Server\server\.\openerp\sql_db.py", line 182, in __init__
  File "C:\Program Files (x86)\OpenERP 7.0-20130319-002358\Server\server\.\openerp\sql_db.py", line 377, in _locked
  File "C:\Program Files (x86)\OpenERP 7.0-20130319-002358\Server\server\.\openerp\sql_db.py", line 440, in borrow
  File "psycopg2\__init__.pyc", line 178, in connect
OperationalError: could not connect to server: Connection refused (0x0000274D/10061)
    Is the server running on host "localhost" (::1) and accepting
    TCP/IP connections on port 5432?
received invalid response to SSL negotiation: -

How did you make the installation? Did you first tested it without SSL?

on 3/20/13, 8:35 AM

This is a little few information to go on. I assume you installed OpenERP 7 under Windows with the all-in-one client? Can you log in to the postgresql database using the pgadmin III client?

Try if you can access your server directory through pgadmin, you can also backup any of your existing databases here. Were you able to ever connect to OpenERP on localhost, and did it change recently - or were you never able to set it up properly?

on 3/20/13, 8:41 AM

Worst case scenario you can also uninstall OpenERP server and the postgresql server. (+ any additional dependencies if you installed them with stacklauncher after the initial configuaration) Then open a regedit and search for all registry keys from OpenERP and postgresql, delete all of them. Reboot your system and reinstall using the all-in-one launcher, leave all of the settings/options on their default values. (e.g. "localhost" and the port 8069) You should get an out-of-the-box working OpenERP installation for localhost if you just install the necessities and don't change the default values

on 3/20/13, 8:43 AM

i have the same problem but when i m trying to connect the postgres through pgadmin when it is giving error :recieved invalid response to ssl negotition

on 11/19/14, 2:20 AM


  open yours terminal, and enter the command service postgresql restart.It should work :)

omar bajunaid
On 3/21/13, 6:01 AM

if you are working under Windows go to services and restart the Openerp server or the Postgres server. These servers are set up to start automatically but sometimes they fail. The options you may have are either to Restart or Stop/Start.

Mind And Go
On 3/20/13, 7:37 PM


If postgresql is running, the problem could come from a problem with IPV6 and IPV4 protocols. The (::1) should be bind to the localhost in your lmhost. Maybe you could try to bind it to your IP. I already had this issue with other systems conecting to postgresql


Daniel Reis

--Daniel Reis--
| 7 8 9
Linda-a-Velha, Portugal
--Daniel Reis--

Author of the "Odoo Development Essentials" book.

Applications Manager at Securitas Portugal

Github: https://github.com/dreispt

Twitter; @reis_pt

Daniel Reis
On 3/20/13, 12:58 PM

From your traceback, the problem is that OpenERP is not able to connect to Postgres database:

could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?

Check if Postgres is running. If you think so and still have the problem, try connecting using a GUI tool such as pgAdmin.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

15 follower(s)


Asked: 3/20/13, 7:43 AM
Seen: 60703 times
Last updated: 3/26/18, 3:58 PM