pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Louis Gonzales <louis.gonzales@linuxlouis.net>
To: Robin Iddon <robin@edesix.com>
Cc: Postgres <pgsql-admin@postgresql.org>
Subject: Re: reg:conninfo
Date: Mon, 20 Mar 2006 07:29:45 -0500
Message-ID: <441EA039.70106@linuxlouis.net> (raw)
In-Reply-To: <441E8498.1050902@edesix.com>
References: <01bd01c64bf7$553bb720$cd00000a@sandhyar>
	<441E6EC1.3070508@edesix.com>
	<01e301c64c03$73922bd0$cd00000a@sandhyar>
	<441E8498.1050902@edesix.com>

I'm sorry, please don't confuse a UNIX domain socket with "localhost" 
which are _not_ the same at all.  A UNIX domain socket is nothing more 
than a file *usually* located in a temporary directory, used for 
inter-process communication.  "localhost" - 127.0.0.1, also used on any 
TCP/IP configured system, including Windows, which does not support UNIX 
domain sockets, by default - _is_ a special network address, the 
loopback device and is used generally to ensure proper functionality of 
the TCP/IP stack.

Robin Iddon wrote:

> Sandhya,
>
>
> If you use localhost you will be creating a UNIX domain socket.  If 
> you use the IP address you will create a TCP/IP socket.
>
> Did you try running with -i yet?  It doesn't mean accept remote 
> connections, it means accept TCP/IP connection.  Without it, you 
> cannot connect to an IP address ...
>
> Robin
>
> sandhya wrote:
>




view thread (15+ messages)  latest in thread

Message-ID: <441EA039.70106@linuxlouis.net>
Permalink:  ../441EA039.70106@linuxlouis.net/
Also on:    postgresql.org/message-id/441EA039.70106@linuxlouis.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: louis.gonzales@linuxlouis.net, robin@edesix.com
  Subject: Re: reg:conninfo
  In-Reply-To: <441EA039.70106@linuxlouis.net>
  References: <01bd01c64bf7$553bb720$cd00000a@sandhyar> <441E6EC1.3070508@edesix.com> <01e301c64c03$73922bd0$cd00000a@sandhyar> <441E8498.1050902@edesix.com> <441EA039.70106@linuxlouis.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox