| Author |
How to connect to Database Server on another machine ?
|
omkar patkar
Ranch Hand
Joined: Aug 25, 2005
Posts: 231
|
|
Hi Guys, The Database server is on another PC (Linux is the OS installed on it) whose IP address is :- 10.0.2.21 and my machine's (Windows XP) IP address is :- 10.0.2.253 . So how do i connecet using JDBC? Now both these PCs ( ...i.e., my client PC and the PC on which the postgres Database Server 8.1 is hosted ) are in one network, and the external IP address of this entire network is :- 59.163.23.73 So if i want to access the database using JDBC from a PC external to this network ( ...i.e., 59.163.23.73 ) then how do i do it ? Thanks !
|
Thanks and Regards
Omkar Patkar (SCJP 1.4)[url]http://javacollectionsnotes.blogspot.com[/url] | [url]http://omkar-myscjpexp.blogspot.com[/url]
|
 |
Mr. C Lamont Gilbert
Ranch Hand
Joined: Oct 05, 2001
Posts: 1170
|
|
|
Depends on the driver. Look in your driver documentation.
|
 |
Marilyn de Queiroz
Sheriff
Joined: Jul 22, 2000
Posts: 9033
|
|
|
It also depends on what kind of firewalls you're dealing with.
|
JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
|
 |
 |
|
|
subject: How to connect to Database Server on another machine ?
|
|
|