473,799 Members | 3,098 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.mydom ain.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 YourEmailAddres sHere" to ma*******@postg resql.org)

Nov 23 '05 #1
2 2972
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_addresse s 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_addresse s 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
1681
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 to fill the dataset. The problem occurs rarely. I've searched Google and have seen many posts dealing with this problem. The typical culprits are: Network Problems: A bad cable, NIC, or router can cause this problem. In my case, however, both the...
6
2399
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 networking capabilities by writing a simple instant messenger program. I only have a few problems: 1. I know squat about Python network Programming 2. I know nothing about networks
6
1962
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 not working, the Service is in "Network Service".....i even tried "Local System" and also "Local Service" but the end result is , it is working only for Localhost connections and not for Remote Connections... the code for server is as follows..
4
8785
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 VB.Net. I've no idea how to logon to the domain via Net.Socket. It is not necessary to map a network drive. I can transfer data via UNC names. Can anybody give me a suggestion how to realize it?
3
3451
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 Radi.
2
1544
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. Vijayakumar
0
1115
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 same. Vijayakumar
0
1536
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, 2006) dtSearch Corp., a leading supplier of enterprise and developer text retrieval software, announces a native 64-bit beta version of the dtSearch Text Retrieval Engine for Win & ..NET. The dtSearch Engine lets developers add dtSearch's...
1
20647
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 I don't see the error): "System.IO.IOException: Unable to read data from the transport connection:A blocking operation was interrupted by a call to WSACancelBlockingCall"
0
9687
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10484
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10251
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10228
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9072
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7565
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6805
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5585
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4141
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.