Skip to Content
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Zatwierdzenia
    • IoT
    • VoIP
    • Baza wiedzy
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Księgowość
  • Zapasy
  • PoS
  • Projekt
  • MRP
All apps
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Pomoc

OpenERP 7: from localhost to fixed IP adress

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
v7fixedlocalhostip
9 Odpowiedzi
34122 Widoki
Awatar
Laurens

I installed OpenERP 7 on a Windows XP OS with the All-in-one setup. During the testing-phase I was running everything under localhost on my virtual machine. The databases are hosted under postgresql 9.2, and I can backup/restore using Pgadmin III without problems.

Now I want to assgign an IP adress to my databases and the server, so I can naviagate to the web client from a different machine in the network.

Most of the information I find is for linux distributions or older versions of OpenERP, and it's quite confusing. Thus far I've only been facing error messages when trying to make the necessary changes.

Could someone please tell me all the configuration files I need to edit under windows, so I don't miss any? The location of set file is good information, but if you would just tell me all the names of the config files, I would already be very grateful.

I have already editted the "openerp-server.conf" files under "C:\Program Files\OpenERP 7.0-20130305-002149\Server\server".

It now reads:

[options]
without_demo = False
unaccent = False
db_template = template1
db_password =openpgpwd
xmlrpcs = True
xmlrpcs_interface = 
syslog = False
logrotate = True
xmlrpcs_port = 8071
test_report_directory = False
list_db = True
timezone = False
xmlrpc_interface = 192.168.100.102
test_file = False
smtp_password = False
secure_pkey_file = server.pkey
xmlrpc_port = 8069
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:\Program Files\OpenERP 7.0-20130305-002149\Server\server\openerp-server.log
csv_internal_sep = ,
limit_time_cpu = 60
pg_path =C:\Program Files\OpenERP 7.0-20130305-002149\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 =openpg
db_host = 192.168.100.102
test_enable = False
max_cron_threads = 2
static_http_document_root = None
email_from = False
addons_path = C:\Program Files\OpenERP 7.0-20130305-002149\Server\server\openerp\addons
secure_cert_file = server.cert

Is there anything else I need to edit in this file, or in another file?

5
Awatar
Odrzuć
Laurens
Autor

I have since also gone through the "postgresql.conf", "pgpass.conf" and "pg_hba.conf" files, under the Openerp/Server/Postgresql/data folder; and editted any mention of localhost to "192.168.100.102". The ports I left unchanged.

Since then I have stopped and started the OpenERP Server process under services a few times, but as of now I can't reach my server through either adress. (localhost nor the fixed IP adress)

I'm not sure I'm going about this the right way, any feedback would be appreciated.

Laurens
Autor

I have fixed my problem some time ago, I found it best to start from a fresh install. Leave all settings default, and start editting network settings once the server is already up and running.

Awatar
Laurens
Autor Najlepsza odpowiedź

My problem was related to compatibility issues from a previous postgresql installation. I searched my registry for all postgresql and openerp related keys, deleted them all - and then reinstalled postgresql and openerp completly. After initial configuration I was able to recover most of my dump files, and have been running without major problems so far.

1
Awatar
Odrzuć
Awatar
AJ Schrafel Paper Corp
Najlepsza odpowiedź

If you can connect to your server from the local machine in a web browser pointed to localhost:8069 - Your problem is probably with windows firewall.

This Microsoft article gives some good details on how to open up a port in windows firewall - http://support.microsoft.com/kb/308127

2
Awatar
Odrzuć
Awatar
Jonathan Leaders
Najlepsza odpowiedź

Configure Odoo

This is for 10, but will work for all versions

In C:\Program Files (x86)\Odoo 10.0\server

change (where your IP is 192.168.1.17 -- update accordingly)

db_host = localhost

to

db_host = 192.168.1.17


Configure PostgreSQL

In C:\Program Files (x86)\Odoo 10.0\PostgreSQL\data\pg_hba.conf

Add the following line

host    all             all             192.168.1.17/24            md5


Restart Server

Go to Windows Services and restart the following services:

  • odoo-server-10.0 10.0

  • PostgreSQL_For_Odoo - PostgreSQL Server 9.5

Test Firewall

go to http://192.168.1.17/ on your local device. It should work.

Then try on an external device on the internal network. If it fails on the external device, disable windows firewall and try again. If it works, then add an exception for C:\Program Files (x86)\Odoo 10.0\server\odoo-bin.exe

0
Awatar
Odrzuć
Awatar
akma72
Najlepsza odpowiedź

I have the same problem on a W7, I completely disabled the firewall and does not work :(, any ideas?

this config file Laurens touched, what did he change exactly?

Thanks, Akma

0
Awatar
Odrzuć
AJ Schrafel Paper Corp

Do not change anything in the config files, that is completely unnecessary. The first thing you need to confirm is that you can access your openerp install by navigating to localhost:8069 - if you can do that then openerp does not need to be touched - it is a problem with your settings in windows

akma72

actually, changing "localhost" for the IP of the server in 2 places in that config file, fixed the problem :)

Laurens
Autor

Indeed, I changed the host in the config file. Don't forget to check the postgresql config files from your Pgadmin client. Important to note is that you need to format the host as IP / subnetmask. For instance: 192.168.xxx.xxx/24.

Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Powiązane posty Odpowiedzi Widoki Czynność
how to get user ip address? Rozwiązane
v7 ip
Awatar
Awatar
Awatar
Awatar
Awatar
10
cze 21
41660
hot to set ip for available from ip valid?
localhost ip
Awatar
0
mar 15
4599
How can I tell if a fix for a bug is available to me?
v7 fixed released
Awatar
Awatar
1
mar 15
5804
How to set a fixed product selling price for a customer?
v7 fixed price selling
Awatar
Awatar
1
mar 15
7717
How to add a "Delete" button on the popup form? Rozwiązane
v7
Awatar
Awatar
1
paź 25
5468
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now