I can connect and process works in my code in localhost.
Sql server at another server.
When i pushed the code and test it on the test server, for example for an api in swagger page returns error which i mentioned at title.
I have created a rule on firewall but nothing changed.
Also my test server runs on openshift.
What is the problem?
(– Reasons. SQL Server does not have the authority to permit remote connection. This is because of a failure in connecting with the server case we are using. This error 40 in SQL server may also pop up due to badly configured firewall settings)
i can ping both servers. There are no any problem. But connection between test server and sql server which runs on openshift is a problem