英文:
Unable to connect to the remote server [curl] in spring boot
问题
这是引导系统启动的开始。只需按照提供的文档 https://spring.io/guides/gs/spring-boot-for-azure/ 中的过程进行操作。
我遇到以下错误:
> curl : 无法连接到远程服务器
> 在行:1 字符:1
> + curl http://localhost:8080
> + ~~~~~~~~~~~~~~~~~~~~~~~~~~
> + CategoryInfo : InvalidOperation: (System.Net.HttpWebR
> equest:HttpWebRequest) [Invoke-WebRequest], WebException
> + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsof
> t.PowerShell.Commands.InvokeWebRequestCommand
英文:
This is the start up of the boot system. just following up the process through the documentation provided at https://spring.io/guides/gs/spring-boot-for-azure/.
I'm getting the error as below;
> curl : Unable to connect to the remote server
> At 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
答案1
得分: 1
发现了答案
>> ./mvnw spring-boot:run
将连接到远程服务器。
刚刚发布,因为有人可能需要帮助。
英文:
Found the answer
>> ./mvnw spring-boot:run
will connect to the remote server.
Just posted, cause some one may need help on this
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论