Johans notes, links etc RSS

This is just another unimportant web page with links and pictures of things that I like or just don't want to forget. Contact me
My lifestream

Archive

Feb
20th
Fri
permalink

Remote testing with Jmeter and loopback issue

Had some problem when I setup a remote testing environment with Jmeter. I used my own macine as master to aggregate the test results, and a couple of other machines as slaves. All machines was running Ubuntu.

The problem I had was that the log on the servers said:

jmeter.samplers.RemoteListenerWrapper: testStarted(host)
java.rmi.ConnectException: Connection refused to host: 127.0.1.1;

To fix this problem I had to changed the /etc/hosts on the master and comment out the loopback entry 127.0.1.1 and replace it with my permanent or real ip address.

127.0.0.1        localhost
192.168.x.x     nowwhat
#127.0.1.1      nowwhat

I also had to comment out the 127.0.1.1 hostname entry in the hosts file on all the slaves, but no need to add the real ip on them.

This problem only affected the machines that was running Ubuntu.

Comments (View)
blog comments powered by Disqus