Web Server: Tomcat 5 Database: PostgreSQL 8 When i run my Web Application in a private network. It is OK. But when i applied it in a production server there's an error. org.hibernate.exception.JDBCConnectionException: Cannot open connection. I think it is due to my firewall?
The Network structure is Outside Client -> Firewall (Open Port = 80, 8080) -> Web Server & DB Server <- Private Network.
My Question is should i open the Port 5432 in the firewall because i think the web-server is the one that access my database not the Outside Client?
Note: I can view my Web Page but i cannot extract the data in Database if im in the outside client. But if im in the private network no problem.
Hope you can help, Im confuse .... Thanks!
|