首页 > 解决方案 > 在spring boot中无法连接到远程服务器[curl]

问题描述

这是引导系统的启动。只需通过https://spring.io/guides/gs/spring-boot-for-azure/提供的文档跟进该过程。

我收到如下错误;

curl : 无法连接到远程服务器在 line:1 char:1 + curl http://localhost:8080 + ~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ + CategoryInfo : InvalidOperation: (System.Net.HttpWebR equest:HttpWebRequest) [Invoke-WebRequest], WebException + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsof
t.PowerShell.Commands.InvokeWebRequestCommand

标签: javahttpcurl

解决方案


找到了答案

./mvnw 弹簧启动:运行

将连接到远程服务器。

刚刚发布,因为有人可能需要帮助


推荐阅读