我正在尝试通过PHP5.2连接到外部Sql Server。
使用这一行:
$con = mssql_connect('123.123.123.123','Username','Password') or die('Could not connect to the server!');
我收到了这个错误:
警告: mssql_connect() function.mssql- connect :无法连接到服务器: 123.123.123.123在/home/file/public_html/structure/index.php第
我们有一个Google函数,它试图连接到位于Compute引擎实例上的Redis服务器。Compute Engine Redis端口是打开的,可以从本地计算机连接到Redis服务器。尽管如此,当云函数尝试这样做时,它会得到以下错误:
35.xxx.xx.xx:6379连接失败--将ETIMEDOUT 35.xxx.xx.xx:6379 at Object.exports._errnoException (util.js:1020:11) at exports._exceptionWithHostPort (util.js:1043:20) at TCPConnectWrap.afterCon