Results 1 to 4 of 4
- 01-07-2010, 11:20 AM #1
Member
- Join Date
- Jan 2010
- Posts
- 2
- Rep Power
- 0
How to access pgsql through network
hi all,
im new in this forum, so i'd like to greet every member.
i tried and found sth to solve my problem, but i didn't.
im developing an application that uses PostgreSQL. The problem is that i have nearly no experience with network programming.
i need to acces the PostgreSQL through network. My application will access the database via network as well as locally(the server).
please, can you help me?
- 01-07-2010, 12:09 PM #2
Member
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 43
- Rep Power
- 0
You mean with JDBC?
Don't forget to allow it in the pg_hba.conf file.Java Code:jdbc:postgresql://<yourip>:5432/<yourdb>
- 01-07-2010, 12:59 PM #3
Member
- Join Date
- Jan 2010
- Posts
- 2
- Rep Power
- 0
it's not working, yet.
i inserted the following permission in the pg_hba.conf file:
host all all 192.168.1.100/110 trust
and im using the url:
jdbc:postgresql://192.168.1.102:5432/<mydb>
192.168.1.102 is the server ip
but it couldn't connect.Last edited by rcr90; 01-07-2010 at 01:02 PM.
- 01-07-2010, 10:10 PM #4
Member
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 43
- Rep Power
- 0
Similar Threads
-
Default Access (package access) confusion
By gauravrajbehl in forum New To JavaReplies: 1Last Post: 11-18-2009, 10:48 AM -
Entity - Field-Based Access Vs Property Based Access
By CatchSandeepVaid in forum Enterprise JavaBeans (EJB)Replies: 3Last Post: 11-02-2009, 07:18 PM -
Web App and network problems?(need help)
By barusk in forum Java AppletsReplies: 3Last Post: 02-27-2009, 06:18 PM -
Method access or field access
By carderne in forum New To JavaReplies: 2Last Post: 12-06-2008, 06:20 PM -
Help with access a database using Microsoft Access
By cachi in forum JDBCReplies: 1Last Post: 08-07-2007, 07:51 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks