{"id":8986,"date":"2024-08-29T06:51:17","date_gmt":"2024-08-29T06:51:17","guid":{"rendered":"https:\/\/www.infinitivehost.com\/knowledge-base\/?p=8986"},"modified":"2024-08-30T07:56:46","modified_gmt":"2024-08-30T07:56:46","slug":"fix-openerp-server-connection-issue-outside-wireless-network","status":"publish","type":"post","link":"https:\/\/www.infinitivehost.com\/knowledge-base\/fix-openerp-server-connection-issue-outside-wireless-network\/","title":{"rendered":"Fix OpenERP Server Connection Issue Outside Wireless Network"},"content":{"rendered":"<div class='epvc-post-count'><span class='epvc-eye'><\/span>  <span class=\"epvc-count\"> 1,167<\/span><span class='epvc-label'> Views<\/span><\/div>\n<p class=\"wp-block-paragraph\">To access your OpenERP server outside your local wireless network, you&#8217;ll need to configure both your server and router to allow external access. Here&#8217;s a step-by-step guide to help you set this up:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Configure Your OpenERP Server<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Ensure OpenERP is Listening on All Interfaces:<\/strong><br>By default, OpenERP may only be listening on <code>localhost<\/code> (127.0.0.1). You need to ensure it listens on all network interfaces (0.0.0.0).<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open your OpenERP configuration file, usually located at <code>\/etc\/openerp-server.conf<\/code> or <code>\/etc\/openerp.conf<\/code>.<\/li>\n\n\n\n<li>Find the line with <code>xmlrpc_interface<\/code> and make sure it is set to <code>0.0.0.0<\/code>:<br><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">plaintext xmlrpc_interface = 0.0.0.0<\/mark><\/code><\/li>\n\n\n\n<li>Save the changes and restart the OpenERP service:<br><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">bash sudo service openerp restart<\/mark><\/code><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">    2. <strong>Ensure Ubuntu Firewall Allows Traffic:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use <code>ufw<\/code> (Uncomplicated Firewall) to check and allow traffic to OpenERP&#8217;s port (default is 8069):<br><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">bash sudo ufw allow 8069\/tcp<\/mark><\/code><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Configure Your Cisco Router<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Access the Router&#8217;s Admin Panel:<\/strong><\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open a web browser and enter the router&#8217;s IP address (usually something like <code>192.168.1.1<\/code>).<\/li>\n\n\n\n<li>Log in with the admin credentials (username and password).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">    2. <strong>Set Up Port Forwarding:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Locate the <strong>Port Forwarding<\/strong> section (it may be under <strong>Advanced Settings<\/strong> or <strong>NAT<\/strong>).<\/li>\n\n\n\n<li>Create a new port forwarding rule:\n<ul class=\"wp-block-list\">\n<li><strong>Service Name<\/strong>: A descriptive name like <code>OpenERP<\/code>.<\/li>\n\n\n\n<li><strong>External Port<\/strong>: <code>8069<\/code> (or whatever port OpenERP is using).<\/li>\n\n\n\n<li><strong>Internal Port<\/strong>: <code>8069<\/code>.<\/li>\n\n\n\n<li><strong>Internal IP Address<\/strong>: The internal IP address of your Ubuntu server (e.g., <code>192.168.1.10<\/code>).<\/li>\n\n\n\n<li><strong>Protocol<\/strong>: <code>TCP<\/code>.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Save the settings.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">     3. <strong>Apply the Changes:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Restart your router to apply the new configuration.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Determine Your Public IP Address<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to a website like WhatIsMyIP or IP Chicken to find your public IP address.<\/li>\n\n\n\n<li>Note this address, as it will be used to access your server from outside your network.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: Test External Access<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Test from an External Network:<\/strong><\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>From a device not connected to your local network, open a web browser.<\/li>\n\n\n\n<li>Enter <code>http:\/\/&lt;your-public-ip&gt;:8069<\/code>.<\/li>\n\n\n\n<li>You should see the OpenERP login page if everything is correctly configured.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Additional Considerations<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Dynamic DNS (Optional):<\/strong><\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If your public IP address changes frequently, consider setting up a Dynamic DNS (DDNS) service like <code>No-IP<\/code> or <code>DynDNS<\/code>. This provides a domain name (e.g., <code>myopenerpserver.ddns.net<\/code>) that always points to your current IP.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">    2. <strong>Security:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Use SSL<\/strong>: Consider setting up SSL (HTTPS) for secure communication.<\/li>\n\n\n\n<li><strong>Access Control<\/strong>: Restrict access by IP address if possible or use a VPN for secure remote access.<\/li>\n\n\n\n<li><strong>Router Security<\/strong>: Ensure your router firmware is up to date, and the admin interface is secure.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">    3. <strong>Check with Your ISP:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Some ISPs block certain ports or restrict inbound connections. Contact them if you&#8217;re unable to connect after these steps.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Would you like details on setting up Dynamic DNS or securing your OpenERP server with SSL?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Conclusion<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To easily access your server of OpenERP outside from all your common wireless networks, then you have to organize both your router and server to permit any outside access. Go get the best <a href=\"https:\/\/www.infinitivehost.com\/managed-odoo-server-solutions\"><mark style=\"background-color:#8ed1fc\" class=\"has-inline-color\"><strong>managed Odoo server solutions<\/strong><\/mark><\/a>, then Infinitive Host is an ideal choice.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1,167 Views To access your OpenERP server outside your local wireless network, you&#8217;ll need to configure both your server and router to allow external access. Here&#8217;s a step-by-step guide to help you set this up: Step 1: Configure Your OpenERP Server 2. Ensure Ubuntu Firewall Allows Traffic: Step 2: Configure Your Cisco Router 2. Set [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[203],"tags":[],"class_list":["post-8986","post","type-post","status-publish","format-standard","hentry","category-odoo"],"_links":{"self":[{"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/8986","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/comments?post=8986"}],"version-history":[{"count":2,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/8986\/revisions"}],"predecessor-version":[{"id":9022,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/8986\/revisions\/9022"}],"wp:attachment":[{"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=8986"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/categories?post=8986"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/tags?post=8986"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}