Jump to content


Photo

MySQL and sFTP are blocking the atempts


  • Please log in to reply
2 replies to this topic

#1 esola01

esola01

    Newbie

  • Members
  • 3 posts

Posted 26 January 2019 - 09:00 AM

Hi! I'm using the remote MySQL connection IP, and it does not work. In my java application shows the following error:

 

[MySQL] Could not establish a MySQL connection, SQLException: Access denied for user '(username)'@'46.***.***.***' (using password: YES)

 

My server is Tommy. I tried to change the IP in the java application to "tommy.heliohost.org" and doesn't work. The used IP in the MySQL error message is 65.**.***.*, and I don't understand why the IP changes automatically to 46.***.***.***.

 

The port is the 3306.

 

And sFTP show me the same with different words. Any can help my please? Thanks! :)

 

(Sorry for my bad english, my native lang is spanish :) )


Edited by esola01, 26 January 2019 - 02:55 PM.


#2 wolstech

wolstech

    Rank X Member

  • Root Admin
  • 9,704 posts
  • Gender:Male
  • Location:Pennsylvania

Posted 26 January 2019 - 02:31 PM

46.251.163.233 is your IP address, not the ip of our server. Your forum post came from that ip as well. You probably need to enable remote mysql in cpanel. There should be a page specifically for it, you just need to add 46.251.163.233 to the list of allowed hosts on that page to fix the mysql.

As for SFTP, verify the port is correct. Also, only your cpanel account can use SFTP. If you created additional ftp accounts in cpanel, those need to use unencrypted, plain ftp on port 21.

Please do not PM me for support. Posting on our forums lets all of us learn.

Do you play Minecraft? | Server Monitors | And the Dumbass of the Decade award goes to...


#3 esola01

esola01

    Newbie

  • Members
  • 3 posts

Posted 26 January 2019 - 02:54 PM

Thank you! :)






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users