当我运行下面的代码时,出现错误: file_get_contents(http:// myurl:52 / send?message = asdasd):无法打开流:连接被拒绝
file_get_contents((str_contains(url('/'), "FILE_USE_INCLUDE_PATH") ? 'http://myurl' : 'http://myurl') . ':52/send?message='.$message);
return json_encode(['success' => $message]);
}
我不明白为什么会出现此错误,如果我将端口更改为53,则会收到相同的错误