How do I fix this error? MySql.Data.MySqlClient.MySqlException: 'Unable to connect to any of the specified MySQL hosts.'
I made an asp.net api that is currently hosted on azure webapp. I am having trouble with the post put and delete request so I tried running the code I have locally, but I keep getting this error "MySql.Data.MySqlClient.MySqlException: 'Unable to connect to any of the specified MySQL hosts.'" Initially, it was working before, but now that I want to run the app locally and make crud operations to a mysql database also hosted on azure mysql server, I get that error. Now that I think about it, it probably is a server error. I say this because the only calls that work online are the get calls but when I try perform post, put or delete, it does not work. where as when I try to work on it locally, none of my endpoints work