Problem: The ServerAgent service has been started on the server, but Jmeter reports an error ERROR: java.net.ConnectException: Connection refused: connect (as shown below) when monitoring server performance
Solution: In the firewall advanced settings, add inbound rules. details as follows:
1. Enter the firewall advanced settings page
Control Panel --> System and Security --> Firewall --> Advanced Settings
2. Add inbound rules
Inbound Rules --> New Rule --> Rule Type: Port --> ... --> Finish
3. Created
It can be viewed in the list, check whether its properties are set correctly
4. Re-execute the jmeter thread group
As shown in the figure below: If no error is reported and the monitoring results can be displayed, the problem has been solved.
Original link:
Jmeter monitoring server resource error problem ERROR: java.net.ConnectException: Connection refused: connect (II)