Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't connect to postgresql issue with port 4042 installing on Windows 10 Python 2.7.14 64Bit #190

Open
TimWanner opened this issue Nov 28, 2018 · 0 comments

Comments

@TimWanner
Copy link

the issue with port 4042 installing on Windows 10 Python 2.7.14 (64Bit) looks like this:

  GET
http://localhost:4040/de/admin/login/?next=/de/admin/
1.8.19
OperationalError
could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 4042? could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 4042?
C:\Program Files (x86)\Cartoview\Python\lib\site-packages\psycopg2_init_.py in connect, line 130
C:\Program Files (x86)\Cartoview\apache24\bin\httpd.exe
2.7.12
['C:\Program Files (x86)\Cartoview\project_template', 'C:\Program Files (x86)\Cartoview\apache24\bin\python27.zip', 'C:\Program Files (x86)\Cartoview\Python\DLLs', 'C:\Program Files (x86)\Cartoview\Python\lib', 'C:\Program Files (x86)\Cartoview\Python\lib\plat-win', 'C:\Program Files (x86)\Cartoview\Python\lib\lib-tk', 'C:\Program Files (x86)\Cartoview\apache24\bin', 'C:\Program Files (x86)\Cartoview\Python', 'C:\Program Files (x86)\Cartoview\Python\lib\site-packages', 'C:\Program Files (x86)\Cartoview\geonode', 'C:\Program Files (x86)\Cartoview\Python\lib\site-packages\lxml-3.6.2-py2.7-win32.egg', 'C:\Program Files (x86)\Cartoview\cartoview', 'C:\Program Files (x86)\Cartoview\Apache24', u'C:\Program Files (x86)\Cartoview\project_template\apps']
Mi, 28 Nov 2018 13:33:40 -0600

` netstat -ano

Aktive Verbindungen

Proto Lokale Adresse Remoteadresse Status PID
TCP 0.0.0.0:135 0.0.0.0:0 ABHÖREN 968
TCP 0.0.0.0:445 0.0.0.0:0 ABHÖREN 4
TCP 0.0.0.0:555 0.0.0.0:0 ABHÖREN 2524
TCP 0.0.0.0:4040 0.0.0.0:0 ABHÖREN 2524
TCP 0.0.0.0:4041 0.0.0.0:0 ABHÖREN 2504
TCP 0.0.0.0:5040 0.0.0.0:0 ABHÖREN 1368
TCP 0.0.0.0:8009 0.0.0.0:0 ABHÖREN 2504
TCP 0.0.0.0:49664 0.0.0.0:0 ABHÖREN 536
TCP 0.0.0.0:49665 0.0.0.0:0 ABHÖREN 904
TCP 0.0.0.0:49666 0.0.0.0:0 ABHÖREN 840
TCP 0.0.0.0:49667 0.0.0.0:0 ABHÖREN 1912
TCP 0.0.0.0:49671 0.0.0.0:0 ABHÖREN 672
TCP 0.0.0.0:49676 0.0.0.0:0 ABHÖREN 680
TCP 0.0.0.0:49692 0.0.0.0:0 ABHÖREN 2712
TCP 0.0.0.0:49693 0.0.0.0:0 ABHÖREN 2712
TCP 10.211.55.4:139 0.0.0.0:0 ABHÖREN 4
TCP 10.211.55.4:49674 40.67.253.249:443 HERGESTELLT 840
TCP 10.211.55.4:49726 2.22.92.144:443 SCHLIESSEN_WARTEN 6660
TCP 10.211.55.4:51213 13.91.60.30:443 HERGESTELLT 2712
TCP 10.211.55.4:51314 52.222.161.23:443 WARTEND 0
TCP 10.211.55.4:51315 185.29.132.30:443 WARTEND 0
TCP 10.211.55.4:51316 173.241.240.143:443 WARTEND 0
TCP 10.211.55.4:51317 192.132.33.27:443 WARTEND 0
TCP 10.211.55.4:51325 192.132.33.27:443 WARTEND 0
TCP 10.211.55.4:51331 52.222.161.203:443 WARTEND 0
TCP 10.211.55.4:51335 37.252.172.42:443 WARTEND 0
TCP 10.211.55.4:51337 216.58.207.66:443 WARTEND 0
TCP 10.211.55.4:51338 37.252.172.42:443 WARTEND 0
TCP 10.211.55.4:51339 159.180.84.2:443 WARTEND 0
TCP 10.211.55.4:51340 130.211.29.114:443 WARTEND 0
TCP 10.211.55.4:51342 52.222.161.127:443 WARTEND 0
TCP 10.211.55.4:51345 35.241.15.240:443 WARTEND 0
TCP 10.211.55.4:51348 147.75.102.200:443 WARTEND 0
TCP 10.211.55.4:51350 185.64.189.115:443 WARTEND 0
TCP 10.211.55.4:51352 185.33.223.200:443 WARTEND 0
TCP 10.211.55.4:51353 18.153.11.11:443 WARTEND 0
TCP 10.211.55.4:51357 185.64.189.110:443 WARTEND 0
TCP 10.211.55.4:51358 185.64.189.114:443 WARTEND 0
TCP 10.211.55.4:51359 51.255.68.171:443 WARTEND 0
TCP 10.211.55.4:51360 185.64.189.110:443 WARTEND 0
TCP 10.211.55.4:51361 185.64.189.114:443 WARTEND 0
TCP 10.211.55.4:51362 34.246.237.244:443 WARTEND 0
TCP 10.211.55.4:51363 173.241.240.17:443 WARTEND 0
TCP 10.211.55.4:51367 77.238.185.35:443 WARTEND 0
TCP 10.211.55.4:51368 35.227.197.177:443 WARTEND 0
TCP 10.211.55.4:51369 37.157.6.245:443 WARTEND 0
TCP 10.211.55.4:51370 52.44.37.123:443 WARTEND 0
TCP 10.211.55.4:51371 52.44.37.123:443 WARTEND 0
TCP 10.211.55.4:51374 173.241.240.143:443 WARTEND 0
TCP 10.211.55.4:51376 52.222.161.127:443 WARTEND 0
TCP 10.211.55.4:51378 34.246.237.244:443 WARTEND 0
TCP 10.211.55.4:51379 173.241.240.17:443 WARTEND 0
TCP 10.211.55.4:51381 208.185.50.80:443 WARTEND 0
TCP 10.211.55.4:51384 35.186.231.222:443 WARTEND 0
TCP 10.211.55.4:51388 69.173.144.151:443 WARTEND 0
TCP 10.211.55.4:51390 69.173.144.137:443 WARTEND 0
TCP 10.211.55.4:51391 69.173.144.137:443 WARTEND 0
TCP 10.211.55.4:51392 69.173.144.137:443 WARTEND 0
TCP 10.211.55.4:51393 185.31.128.129:443 WARTEND 0
TCP 10.211.55.4:51395 34.234.26.171:443 WARTEND 0
TCP 10.211.55.4:51396 69.173.144.137:443 WARTEND 0
TCP 10.211.55.4:51397 69.173.144.137:443 WARTEND 0
TCP 10.211.55.4:51398 35.241.15.240:443 WARTEND 0
TCP 10.211.55.4:51402 185.54.150.19:443 WARTEND 0
TCP 10.211.55.4:51406 185.54.150.19:443 WARTEND 0
TCP 10.211.55.4:51407 185.64.189.115:443 WARTEND 0
TCP 10.211.55.4:51411 185.54.150.19:443 WARTEND 0
TCP 10.211.55.4:51412 185.64.189.115:443 WARTEND 0
TCP 10.211.55.4:51413 72.21.206.140:443 WARTEND 0
TCP 10.211.55.4:51418 172.217.22.42:443 WARTEND 0
TCP 10.211.55.4:51420 216.58.207.66:443 WARTEND 0
TCP 127.0.0.1:5939 0.0.0.0:0 ABHÖREN 3032
TCP 127.0.0.1:8005 0.0.0.0:0 ABHÖREN 2504
TCP 127.0.0.1:49680 127.0.0.1:49681 HERGESTELLT 2504
TCP 127.0.0.1:49681 127.0.0.1:49680 HERGESTELLT 2504
TCP 127.0.0.1:49683 127.0.0.1:49684 HERGESTELLT 2504
TCP 127.0.0.1:49684 127.0.0.1:49683 HERGESTELLT 2504
TCP 127.0.0.1:49733 127.0.0.1:49734 HERGESTELLT 2504
TCP 127.0.0.1:49734 127.0.0.1:49733 HERGESTELLT 2504
TCP 127.0.0.1:49735 127.0.0.1:49736 HERGESTELLT 2504
TCP 127.0.0.1:49736 127.0.0.1:49735 HERGESTELLT 2504
TCP 127.0.0.1:49737 127.0.0.1:49738 HERGESTELLT 2504
TCP 127.0.0.1:49738 127.0.0.1:49737 HERGESTELLT 2504
TCP 127.0.0.1:49739 127.0.0.1:49740 HERGESTELLT 2504
TCP 127.0.0.1:49740 127.0.0.1:49739 HERGESTELLT 2504
TCP [::]:135 [::]:0 ABHÖREN 968
TCP [::]:445 [::]:0 ABHÖREN 4
TCP [::]:555 [::]:0 ABHÖREN 2524
TCP [::]:4040 [::]:0 ABHÖREN 2524
TCP [::]:4041 [::]:0 ABHÖREN 2504
TCP [::]:8009 [::]:0 ABHÖREN 2504
TCP [::]:49664 [::]:0 ABHÖREN 536
TCP [::]:49665 [::]:0 ABHÖREN 904
TCP [::]:49666 [::]:0 ABHÖREN 840
TCP [::]:49667 [::]:0 ABHÖREN 1912
TCP [::]:49671 [::]:0 ABHÖREN 672
TCP [::]:49676 [::]:0 ABHÖREN 680
TCP [::]:49693 [::]:0 ABHÖREN 2712
UDP 0.0.0.0:500 : 840
UDP 0.0.0.0:3702 : 3572
UDP 0.0.0.0:3702 : 3572
UDP 0.0.0.0:4500 : 840
UDP 0.0.0.0:5050 : 1368
UDP 0.0.0.0:5353 : 5148
UDP 0.0.0.0:5353 : 1680
UDP 0.0.0.0:5353 : 5148
UDP 0.0.0.0:5355 : 1680
UDP 0.0.0.0:56829 : 3572
UDP 0.0.0.0:56831 : 3032
UDP 10.211.55.4:137 : 4
UDP 10.211.55.4:138 : 4
UDP 10.211.55.4:1900 : 2128
UDP 10.211.55.4:5353 : 3032
UDP 10.211.55.4:56827 : 2128
UDP 127.0.0.1:1900 : 2128
UDP 127.0.0.1:56828 : 2128
UDP 127.0.0.1:62816 : 840
UDP [::]:500 : 840
UDP [::]:3702 : 3572
UDP [::]:3702 : 3572
UDP [::]:4500 : 840
UDP [::]:5353 : 5148
UDP [::]:5353 : 1680
UDP [::]:5355 : 1680
UDP [::]:56830 : 3572
UDP [::]:56832 : 3032
UDP [::1]:1900 : 2128
UDP [::1]:5353 : 3032
UDP [::1]:56826 : 2128
UDP [fe80::b9d4:b8a5:6bf5:6a44%12]:1900 : 2128
UDP [fe80::b9d4:b8a5:6bf5:6a44%12]:56825 : 2128`

so port is not in use. any idea ? I've installed Norton managing the firewall (might blocking ports?) -deactivated Norton but nothing changed. any solution ? can I come around that problem by choosing advanced mode using own db?

thanks for responses!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants