PostgreSQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesPostgreSQL Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 25th, 2009, 01:06 PM
Emaginat Emaginat is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2009
Posts: 3 Emaginat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 24 m 18 sec
Reputation Power: 0
TCP\IP remote connection

Hi All,

How to accept TCP\IP remote connections? is there any specific settings to accept connections.

Plz help!!!

Thanks
Mohit

Reply With Quote
  #2  
Old June 25th, 2009, 01:14 PM
shammat shammat is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Oct 2003
Location: Munich, Bavaria
Posts: 1,532 shammat User rank is Captain (20000 - 30000 Reputation Level)shammat User rank is Captain (20000 - 30000 Reputation Level)shammat User rank is Captain (20000 - 30000 Reputation Level)shammat User rank is Captain (20000 - 30000 Reputation Level)shammat User rank is Captain (20000 - 30000 Reputation Level)shammat User rank is Captain (20000 - 30000 Reputation Level)shammat User rank is Captain (20000 - 30000 Reputation Level)shammat User rank is Captain (20000 - 30000 Reputation Level)shammat User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Weeks 3 Days 16 h 34 m 21 sec
Reputation Power: 209
Check out your value for listen_address:

http://www.postgresql.org/docs/8.3/static/runtime-config-connection.html#GUC-LISTEN-ADDRESSES

Reply With Quote
  #3  
Old June 26th, 2009, 02:48 AM
pgFrank's Avatar
pgFrank pgFrank is offline
So help me Codd
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2008
Location: Brazil
Posts: 300 pgFrank User rank is Sergeant (500 - 2000 Reputation Level)pgFrank User rank is Sergeant (500 - 2000 Reputation Level)pgFrank User rank is Sergeant (500 - 2000 Reputation Level)pgFrank User rank is Sergeant (500 - 2000 Reputation Level)pgFrank User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 13 h 21 m 8 sec
Reputation Power: 20
1) Make sure the firewall accepts incoming traffic
2) Change pg_hba.conf
3) Change postgresql.conf
4) restart your databaseserver (because of nr. 3)

And don't forget security, you need a proper password and maybe SSL as well.
__________________
PostgreSQL-manual

Reply With Quote
  #4  
Old June 26th, 2009, 03:44 AM
Emaginat Emaginat is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2009
Posts: 3 Emaginat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 24 m 18 sec
Reputation Power: 0
I have made the necessary changes like
in the postgresql.conf file

listen_addresses = '*'
port = 5433

in the pg_hba.conf file
instead of 0.0.0.0 ipaddress of the server
host all all 0.0.0.0 255.255.255.0 md5


i have also provided a password.

but how to Make sure the firewall accepts incoming traffic


plz advice.

Thanks

Reply With Quote
  #5  
Old June 26th, 2009, 04:22 AM
pgFrank's Avatar
pgFrank pgFrank is offline
So help me Codd
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2008
Location: Brazil
Posts: 300 pgFrank User rank is Sergeant (500 - 2000 Reputation Level)pgFrank User rank is Sergeant (500 - 2000 Reputation Level)pgFrank User rank is Sergeant (500 - 2000 Reputation Level)pgFrank User rank is Sergeant (500 - 2000 Reputation Level)pgFrank User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 13 h 21 m 8 sec
Reputation Power: 20
Quote:
but how to Make sure the firewall accepts incoming traffic

What firewall are you using and does it have a manual?

Reply With Quote
  #6  
Old June 26th, 2009, 04:34 AM
Emaginat Emaginat is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2009
Posts: 3 Emaginat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 24 m 18 sec
Reputation Power: 0
I m using default windows firewall. and it is set to off...


anyways my problem is solved for communicating with postgresql from dotnet application.

there was a seamless_rotate = 1 i have set to 0 and re-install the service. it is returning me results.


Thanks all

Mohit

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesPostgreSQL Help > TCP\IP remote connection


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
Stay green...Green IT