473,398 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

8.0 Beta 4 denying network connections?

Hello,

I've got one 7.4 installation and a brand new 8.0 beta4
running on the same machine.

Both installations are configured to use the same port
(5431) to avoid reconfiguring the apps running on
top of the DB.

The following paragraphs illustrate the problem:

[root@mymachine root 20:52:07]# service postgres74 start
Starting PostgreSQL: ok

[vinko@mymachine sources 20:54:36]$ telnet mymachine 5431
Trying 192.168.2.69...
Connected to mymachine.mydomain.cl (192.168.0.169).
Escape character is '^]'.
null
Connection closed by foreign host.

[root@mymachine root 20:55:50]# service postgres74 stop
Stopping PostgreSQL: ok
[root@mymachine root 20:55:56]# service postgres8 start
Starting PostgreSQL: ok

[vinko@mymachine sources 20:55:07]$ telnet mymachine 5431
Trying 192.168.0.169...
telnet: Unable to connect to remote host: Connection refused

If I try connecting from localhost, I can connect without
trouble in both versions.

And, of course, the same happens with the psql client.

I tried modifying pg_hba.conf but to no avail and what I have
looks right to me.

Has the syntax for this file changed? I even tried to use the 74's
pg_hba with 80, but the results are the same.

Is there another config option I'm missing? FWIW, beta3 doesn't
behave this way.

Thanks for any insight on the issue,
--
Vinko Vrsalovic <el[|-@-|]vinko.cl>

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 23 '05 #1
2 2955
Vinko Vrsalovic <el@vinko.cl> writes:
[vinko@mymachine sources 20:55:07]$ telnet mymachine 5431
Trying 192.168.0.169...
telnet: Unable to connect to remote host: Connection refused


Looks to me like you forgot to enable TCP connections in the 8.0
installation. Note that the relevant postgresql.conf options are
not the same in 8.0 as 7.4 (see listen_addresses vs tcpip_socket
and virtual_host).

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Nov 23 '05 #2
On Fri, Oct 29, 2004 at 09:59:17PM -0400, Tom Lane wrote:
Vinko Vrsalovic <el@vinko.cl> writes:
[vinko@mymachine sources 20:55:07]$ telnet mymachine 5431
Trying 192.168.0.169...
telnet: Unable to connect to remote host: Connection refused


Looks to me like you forgot to enable TCP connections in the 8.0
installation. Note that the relevant postgresql.conf options are
not the same in 8.0 as 7.4 (see listen_addresses vs tcpip_socket
and virtual_host).


Shame on me, I checked the file 6 times and every time read "defaults to
'*' = any".

Thanks a lot,
--
Vinko Vrsalovic <el[|-@-|]vinko.cl>

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Nov 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: David Sworder | last post by:
Hi there, I am using the SQL managed provider in ADO.NET to fill a dataset with a large number of records. I periodically get an exception with the description "General Network Error" when trying...
6
by: John Walton | last post by:
Hello, everyone. I just began school, and they already assigned us science fair. Since I'm in 8th grade, I get to do demonstrations for our projects. I'm probably going to demonstrate Python's...
6
by: Chakkaradeep | last post by:
hi all, I have written a C# Service which is a Server accepting Clients,It is working fine when i connect from localhost but when i connect from any other machine to my machine , the service is...
4
by: Alex | last post by:
Hi All I'm writing scripts in VBS fore years. But now I've to write a tool in Visual Basic .Net which has to connet to a Windows domain. I know how to do this in VBS but I don't find a way in...
3
by: Radi Radichev | last post by:
Hi All! I want to make a program that monitors the active network connections. Can somebody give me a tip or links with tutorials or something where i can see how is that done? Thanks Greetz...
2
by: Vijayakumar | last post by:
Hi all, How can I enumerate network and dial-up connections using vb.net? I need to display the network and dial-up connections in a combo box and to display its details while selecting the same....
0
by: Vijayakumar | last post by:
Hi all, How can I enumerate network and dial-up connections using vb.net or c#? I need to display the network and dial-up connections in a combo box and to display its details while selecting the...
0
by: dtsearch | last post by:
A new beta build offers 64-bit developer access to dtSearch's "terabyte indexer," and preliminary MS Word 2007 and Excel 2007 support (in both 64-bit and 32-bit versions) BETHESDA, MD (July 22,...
1
by: Ryan Liu | last post by:
Hi, I have a 100 clients/ one server application, use ugly one thread pre client approach. And both side user sync I/O. I frequently see the error on server side(client side code is same, but...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.