Odoo Help

Welcome!

This community 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.

0

Remote Access to OpenERP on Windows 2012.

By
Darryn Parker
on 11/11/13, 7:46 PM 5,060 views

For the life of my, I cannot get remote access to an instance of OpenERP 7 on my Windows 2012 Server.

This is a Public facing, stand-alone web server that implements it's own Windows 2012 Firewall. We are getting timeouts error messages. It's like the Apache web serve is just ignoring the requests.

Funny thing is that I've set-up an instance of OpenERP on another server using the same config but it's on the same LAN as me as this isn't public facing so I cannot test it's configuration or remote access.

I can connect to OpenERP just fine locally and on different ports when I change the config file.

I have confirmed that port 80 is not blocked by Windows firewall by installing IIS and connecting successfully to that web server and we're run utilities to monitor incoming connection requests and port 80 requests are coming through.

There are no Windows Event log entries that look suspicious.

Is there a series of steps that I've missed to allow remote access? Any help would be very appreciative.

Current config file:


[options] without_demo = False unaccent = False db_template = template1 db_password =** xmlrpcs = True xmlrpcs_interface = syslog = True logrotate = True xmlrpcs_port = 8071 test_report_directory = False list_db = True timezone = False xmlrpc_interface = test_file = False smtp_password = False secure_pkey_file = server.pkey xmlrpc_port = 80 workers = 0 log_level = info xmlrpc = True admin_passwd = admin smtp_port = 25 smtp_server = localhost static_http_url_prefix = None limit_request = 8192 test_commit = False proxy_mode = False demo = {} dbfilter = . login_message = False import_partial = pidfile = None db_maxconn = 64 osv_memory_count_limit = False reportgz = False osv_memory_age_limit = 1.0 netrpc_port = 8070 db_port =5432 db_name = False debug_mode = False netrpc = False limit_time_real = 120 limit_memory_hard = 805306368 logfile = C:\OpenERP\Server\server\openerp-server.log csv_internal_sep = , limit_time_cpu = 60 pg_path =C:\OpenERP\PostgreSQL\bin limit_memory_soft = 671088640 static_http_enable = False translate_modules = ['all'] smtp_ssl = False server_wide_modules = None netrpc_interface = smtp_user = False log_handler = [':INFO'] db_user =** db_host =** test_enable = False max_cron_threads = 2 static_http_document_root = None email_from = False addons_path = C:\OpenERP\Server\server\openerp\addons secure_cert_file = server.cert

You mention Apache and IIS, both of those run on port 80 by default, so does your OpenERP server by looking at your config file there. Obviously the OpenERP server isn't getting the request, so must be one of those other programs. If your exposing the OpenERP server itself directly to the net via that port 80 config, why do you need Apache?

Mike Lindsay
on 11/11/13, 8:24 PM

Sorry, I made the mistake of saying that Apache isn't taking the requests. I meant OpenERP. I tested Port 80 using IIS and it works, but I cannot get the OpenERP service to take and serve the requests.

I take it there isn't anything in the configuration or setup that I've missed?

Darryn Parker
on 11/11/13, 8:50 PM
0
Darryn Parker
On 11/11/13, 9:10 PM

Solved.

This was a result of Windows 2012 Firewall blocking port 80 traffic to the OpenERP Service itself, not just port 80 traffic.

I compared the default Inbound firewall rules for IIS against the one that I created and made a slight adjustment to allow this traffic to come through to the service and she's all working now.

Hope this helps someone else.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 11/11/13, 7:46 PM
Seen: 5060 times
Last updated: 3/16/15, 8:10 AM