Elite Solutions
Elite Solutions

Reputation: 43

How to access Odoo 12 using WSL

I have installed Odoo 12 in Ubuntu 18.04LTS as WSL, everything seems fine and the service is running. However, I am lost on how to access Odoo page. I have tried 0.0.0.0:8069 in Windows (Chrome) but it says that:

This site can’t be reached The webpage at http://0.0.0.0:8069/ might be temporarily down or it may have moved permanently to a new web address. ERR_ADDRESS_INVALID

I have another installation for odoo running in the same port localhost:8069. I tried to stop the service by visiting 0.0.0.0:8069 but that also didn't work.

Any help on that?

Also, please let me know how I can change the Port for Odoo in Ubuntu in WSL.

Many Thanks.

Upvotes: 0

Views: 595

Answers (2)

alejandrob
alejandrob

Reputation: 681

  1. Check that your odoo server is actually running CORRECTLY (service odoo status, etc.)
  2. Ping your VM from the host. Don't try anything else unless you get a ping back.
  3. Try accesing http://localhost:8069 ( NOT https:// )
  4. Check that your odoo.conf is actually configured to point to port 8069
  5. Disable nginx a/o apache reverse proxies in the VM client.

Upvotes: 0

Elite Solutions
Elite Solutions

Reputation: 43

I found what the error was.

The problem was a conflict with the port number for Odoo Windows and Odoo Ubuntu WSL. I only changed the Port number for one of them (I choose the Local Windows version) and now I have both versions are running:

Odoo windows running via localhost:9999 Odoo Ubuntu WSL running via localhost:8069

Thanks

Upvotes: 1

Related Questions