MS翻译连接问题 [英] MS translator connectivity problem
问题描述
我使用SSMS 2008实现了MS翻译。但是,我收到连接错误:
I have implemented MS translator using SSMS 2008. However, I am getting connectivity error:
" < span style ="font-size:11pt; font-family:Calibri,sans-serif"> WebException:
连接尝试失败,因为连接方在一段时间后没有正确响应,或者建立的连接失败,因为连接的主机有
未能回应70.37.92.127:443 。 "
"WebException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 70.37.92.127:443."
此外,我们尝试使用以下代理设置,但没有运气:
Also we tried using below proxy settings but no luck:
使用(WebClient wc = new WebClient())
&NBSP; &NBSP; &NBSP; &NBSP; &NBSP; {
&NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; wc.Proxy = new WebProxy(new Uri(" http:// proxy:80 /"),false,null,CredentialCache.DefaultCredentials);
&NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; wc.Headers.Add(" user-agent"," Mozilla / 5.0(Windows NT 6.1)AppleWebKit / 537.36(KHTML,like Gecko)Chrome / 41.0.2228.0 Safari / 537.36");
&NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; wc.DownloadFile(url,outputFile);
&NBSP; &NBSP; &NBSP; &NBSP; &NBSP; }
请指导这里需要做的事情。
Please guide what needs to be done here.
提前致谢
Nilesh G
推荐答案
Hi Nilesh ,
Hi Nilesh,
我怀疑您的数据中心使用的是与本地计算机不同的代理或防火墙,因为它不允许连接到转换程序API。您可以尝试在服务器上运行独立应用程序以查看它是否可以连接。如果没有别的,请尝试
文档翻译http://github.com/microsofttranslator/documenttranslator。
my suspicion is that your datacenter uses a different proxy or firewall than your local machine, which doesn't allow connections to the translator API. You could try running a standalone app on your server to see if it can connect. If nothing else, try the document translator http://github.com/microsofttranslator/documenttranslator.
Chris Wendt
Microsoft Translator
Chris Wendt
Microsoft Translator
这篇关于MS翻译连接问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!