5
Well friends, I have a database on Azure, but I can’t connect to it. The error is that my IP is not authorized to perform such connection, what I did was add a new rule to the firewall of the database server, but every time I change IP I have this problem. What should I do to solve this problem once and for all?
Well my friend, thank you very much for the answer, but the problem is that every time I change IP I need to put an exception in Firewall.
– Jedaias Rodrigues
Yeah, that’s just the way it works.
– Leonel Sanches da Silva
Oops, so I could create a VM and create the BD there dendro, but how would I access the resources of that VM through an Asp.Net MVC application for example, as would use the Entity Framwork?
– Jedaias Rodrigues
The same as the one you use today. The difference is that it wouldn’t all come configured for you. You would have to learn how to set up IIS, the Web Deploy, and so on. It’s a little long way, but it’s worth it.
– Leonel Sanches da Silva
Well @Cigano Morrison Mendez if I continue using the Database as it is without the VM, when creating a Web Application Asp.Net MVC I could not make it available because the Firewall would block all access, correct? In that case, what would be the alternative?
– Jedaias Rodrigues
@Jedaiasrodrigues Wrong. Firewall only blocks external accesses. Access made within the same cloud environment is free.
– Leonel Sanches da Silva
Just to confirm... So that means that if I create a Web Application and publish in Azure, I will have no problems with accessing the database?
– Jedaias Rodrigues
@Jedaiasrodrigues Not at all. The exchange of information between the components must take place freely. Only external access is regulated (and rightly so) to avoid security problems.
– Leonel Sanches da Silva
then any time I want to update something in the database, create tables manually I will have to create a new rule in the firewall if my IP is different correct?
– Jedaias Rodrigues
@Jedaiasrodrigues Apparently you are not using the concept of Migrations, where the Web Deploy makes all bank changes for you. Teaching to configure this part in this answer.
– Leonel Sanches da Silva