File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Linux - Apache - MySQL

 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am accessing a database using Apache as my web server through an applet on a Linux system and I am getting the following error when trying to establish a connection to the database:

Does anyone know what part of the Apache Server configuration blocks this access.
When I access a MySQL database on a Win2K advanced Server system, it works great. Although I am not using Apache on the Windows Machine.
Thanks
 
martin samm
Ranch Hand
Posts: 31
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm not an expert at Applet to database comms, but is the connection from the applet trying to use mysql's standard port which could be blocked (default is 3306)
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is a possibility. Now, how do I find that out, and free the port? If anyone knows, that would be great.
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, I was able to free port 3306 using iptable commands, however, this did not solve my problem. I believe that Apache is actually blocking access somehow. If anyone has any experience with these, I would appreciate any help.
Or maybe this belongs in a different forum??
Thanks
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could a moderator please move this to Apache/Tomcat thread? I may have better luck there and do not want to repost.
Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic