Project scenario:
(this is a common problem for novices!) Springboot project starts debugging in idea. When swagger is used to test the API on browser, the server stops after starting the project, and prompts localhost on browser to reject our connection request. At the same time, it prompts err_ CONNECTION_ REFUSED
Problem Description:
prompt: the problems encountered in project debugging are caused by the wrong startup and operation of your own choice: font>
1. Running results after starting the project in idea:
Automatically shut down the thread and shut down JPA. The key is that after I run it directly, I automatically shut down all the threads, and no error was reported. The browser was not opened. I did some debugging in the early stage, and I don’t know how to do it. I used eclipse and idea to do a lot of things before school,!!! Here is my power debugging option.
2. Browser display results
this is the end of my search for [thread – 5]. I can’t successfully start to access the browser’s address http://localhost : 8181/swagger-ui.html, the browser error is as follows:
Cause analysis:
I read this blog: https://blog.csdn.net/zj15527620802/article/details/84889346
The problem is very simple, that is, the selection of debugging options is wrong. I’m too careless font> to run
Solution:
To run the project, just choose the one at the end of application
after successful execution
Read More:
- failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
- Failed to load resource: net::ERR_CONNECTION_REFUSED
- Solve the problem of Failed to load resource: net::ERR_CONNECTION_REFUSED
- SQL server remote computer refused network connection, error: 1225, specific solution steps.
- Nginx reports 502 error, log connect() failed (111: Connection refused) while connecting to upstream. A personal effective solution
- [Solved] Springboot Project Error: Mail server connection failed;
- Windows_ Win7 broadband connection prompt remote access connection manager error
- Putty prompt network error: software caused connection abort solution
- hdfs 192.168.2.19:9000 failed on connection exception: java.net.ConnectException:Connection refused
- The springboot project does not start and has no error messages
- Synergy 1.4.12 “ipc connection error, connection refused” and other issues
- Hzero – if the local swagger fails to register, the connection timeout or gateway error will be displayed
- Java connection SQL error, network error IO Exception:Connection refused :connect
- Idea project prompt: symbol not found or package does not have a solution
- solve java.net.ConnectException : Connection refused:connect report errors
- Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no furthe
- Flutter development: prompt error parsing localfile when running the project: ‘/ users / xxx / Android / APP / SRC / main / androidmanifest. XML’… Solution
- How to Fix java.net.ConnectException: Connection refused: connect
- error: \*1035 connect() failed (111: Connection refused) while connecting to upstream, client…..
- Update project manually_ Solution of too large jar package in springboot