• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Unable to connect to Db in the same network.

 
Ranch Hand
Posts: 36
Hibernate Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am stuck in situation of unable to connect to MYSQL db which is set up on comp in same network. I have deployed my java application on x.x.55.26 and db is set up on x.x.55.30. i am trying to connect to DB but i am getting connection refused error. The persistence-context.xml is as following.


The comp is virtual machine and i need to validate my credentials in firewall interface which i have done. but i am not able to connect to DB in x.x.55.30

googled a bit. found that i need to use SSH or Http protocol which are the only protocols not blocked by firewall.

Does anybody have idea about this? did anybody come across this situation before in their work or lab?

Help sought and appreciated.

Thanks
 
Rajeish Mittal
Ranch Hand
Posts: 36
Hibernate Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Error Log
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic