RE: Problem with connection to sql server
Your connection looks fine but you error suggest that you dont have rights to access the Sql-Server from external IP.
Whitelist your IP address or ask your hosting provider to do this.
Or you can try the same IP, UserName, Password on your locally install Sql Management Studio. If that program able to connect then you can get the connection string from that established connection.