I'm developing an ionic app which has to be connect with cpanel node.js mysql server. when server runs in cpanel it shows as server is running. but I can't send requests from my app to the server. I'm confused with the server IP and port.
for node js server index.j file I have used port 3000 and host as localhost including mysql db username and pw. I tried to get response by using url:http://(my cpanel Ip):3000/
var con = mysql.createConnection({ host: "localhost", user: "bdruser", password: "ABCD", database: "users", multipleStatements: true });
when I send the requests by using postman it shows as could not get any response