Jmeter monitoring server resource error problem ERROR: java.net.ConnectException: Connection refused: connect

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

insert image description here

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
insert image description here
insert image description here
insert image description here

2. Add inbound rules

Inbound Rules --> New Rule --> Rule Type: Port --> ... --> Finish
insert image description here
insert image description here
insert image description here
insert image description here
insert image description here
insert image description here

3. Created

It can be viewed in the list, check whether its properties are set correctly
insert image description here
insert image description here

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.
insert image description here

Original link:
Jmeter monitoring server resource error problem ERROR: java.net.ConnectException: Connection refused: connect (II)

Guess you like

Origin blog.csdn.net/weixin_48415452/article/details/122130564