I have some jMeter scripts that I am able to run fine locally. However, when I try to run them on an EC2 instance, every thread times out with the following exception:
Response code: Non HTTP response code: java.net.ConnectException
Response message: Non HTTP response message: Connection timed out (Connection timed out)
If I run a curl command on EC2 instance on the same endpoint it works just fine. Any suggestions on how to troubleshoot this or experience with the same problem would be much appreciated.