如何使Azure批处理计算节点与Internet通讯? [英] How can I make Azure Batch Compute Nodes talk to the internet?

查看:70
本文介绍了如何使Azure批处理计算节点与Internet通讯?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,我有一个运行自定义.NET控制台应用程序的azure批处理计算节点.我的目标是让.NET应用程序连接到SQL数据库,添加记录,获取值等. 节点,它说找不到服务器.我可以在另一台计算机上使用相同的连接字符串,并且可以很好地连接到数据库.

So I have an azure batch compute node with a custom .NET console application running.  My goal is to have the .NET application connect to a SQL database, add records, get values, etc...  However when I the application is ran on the azure compute node, it says it can't find the server.  I can use the same connection string on a different computer and I can connect to the database just fine.

为了进一步检验该理论,我创建了一个天蓝色的任务,该任务简单地称为"cmd/c" ping google.com".并返回未找到.  因此,我相信天蓝色的批处理计算节点没有互联网连接.

To test the theory out more, I created an azure task that simply calls, "cmd /c "ping google.com"". and it returns back not found.  So this leads me to believe that the azure batch compute nodes don't have an internet connection.

谢谢!

推荐答案

只需进行更新即可;我找到了有关VNet的信息,并将VNet分配给了一个天蓝色的批处理池.我已将一个Vnet分配给一个天蓝色的批处理池,并执行相同的测试并仍然收到相同的消息:

Just to update; I found out about the VNet and assigning a VNet to an azure batch pool.  I have a Vnet assigned to an azure batch pool, and perform the same test and still get the same message: 



这篇关于如何使Azure批处理计算节点与Internet通讯?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆