• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to connect to Database Server on another machine ?

 
omkar patkar
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 !
 
Mr. C Lamont Gilbert
Ranch Hand
Posts: 1170
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depends on the driver. Look in your driver documentation.
 
Marilyn de Queiroz
Sheriff
Posts: 9066
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It also depends on what kind of firewalls you're dealing with.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic