ciao,
non riesco far comunicare il pc Server con gli altri pc nonostante sul PC dove c'è il database è stato configurata la porta sul firewall, controllati gli indirizzi IP ed aggiunto la riga nel file pg_hba.conf come da manuale
Riporto copia del log:
2019-08-27 02:28:04,417 - sagra - ERROR - Uncaught exception:
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "c:\python27\lib\site-packages\PyInstaller-2.1dev_71a4ce2-py2.7.egg\PyInstaller\loader\pyi_importers.py", line 270, in load_module
File "C:\git\gestionesagra\src\build\sagra\out00-PYZ.pyz\amministrazione", line 5, in <module>
File "c:\python27\lib\site-packages\PyInstaller-2.1dev_71a4ce2-py2.7.egg\PyInstaller\loader\pyi_importers.py", line 270, in load_module
File "C:\git\gestionesagra\src\build\sagra\out00-PYZ.pyz\guiutil", line 3, in <module>
File "c:\python27\lib\site-packages\PyInstaller-2.1dev_71a4ce2-py2.7.egg\PyInstaller\loader\pyi_importers.py", line 270, in load_module
File "C:\git\gestionesagra\src\build\sagra\out00-PYZ.pyz\bo", line 4, in <module>
File "c:\python27\lib\site-packages\PyInstaller-2.1dev_71a4ce2-py2.7.egg\PyInstaller\loader\pyi_importers.py", line 270, in load_module
File "C:\git\gestionesagra\src\build\sagra\out00-PYZ.pyz\database", line 338, in <module>
File "C:\git\gestionesagra\src\build\sagra\out00-PYZ.pyz\database", line 33, in get_version
File "C:\git\gestionesagra\src\build\sagra\out00-PYZ.pyz\sqlalchemy.engine.base", line 2471, in connect
File "C:\git\gestionesagra\src\build\sagra\out00-PYZ.pyz\sqlalchemy.engine.base", line 878, in __init__
File "C:\git\gestionesagra\src\build\sagra\out00-PYZ.pyz\sqlalchemy.engine.base", line 2557, in raw_connection
File "C:\git\gestionesagra\src\build\sagra\out00-PYZ.pyz\sqlalchemy.pool", line 184, in unique_connection
File "C:\git\gestionesagra\src\build\sagra\out00-PYZ.pyz\sqlalchemy.pool", line 401, in __init__
File "C:\git\gestionesagra\src\build\sagra\out00-PYZ.pyz\sqlalchemy.pool", line 746, in _do_get
File "C:\git\gestionesagra\src\build\sagra\out00-PYZ.pyz\sqlalchemy.pool", line 189, in _create_connection
File "C:\git\gestionesagra\src\build\sagra\out00-PYZ.pyz\sqlalchemy.pool", line 282, in __init__
File "C:\git\gestionesagra\src\build\sagra\out00-PYZ.pyz\sqlalchemy.pool", line 344, in __connect
File "C:\git\gestionesagra\src\build\sagra\out00-PYZ.pyz\sqlalchemy.engine.strategies", line 80, in connect
File "C:\git\gestionesagra\src\build\sagra\out00-PYZ.pyz\sqlalchemy.engine.default", line 281, in connect
File "C:\git\gestionesagra\src\build\sagra\out00-PYZ.pyz\psycopg2", line 130, in connect
OperationalError: (OperationalError) could not connect to server: Connection timed out (0x0000274C/10060)
Is the server running on host "192.168.1.199" and accepting
TCP/IP connections on port 5432?
None None
qualche idea per favore ?