ab -n 100 -c 1 http://localhost:8080/

his is ApacheBench, Version 2.3 <$Revision: 1178079 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking localhost (be patient)...bind: Address family not supported by
protocol family (47)


Background:  I upgraded my Mac to Lion, and apache bench stopped working
giving me the errors:

Upgrage apr_socket_recv: Connection reset by peer (54)

So I read online that the latest beta version fixed this issue, so I
downloaded it (
http://ftp.download-by.net/apache//httpd/httpd-2.3.15-beta.tar.bz2) and
built it based on this:
http://www.ralphhenry.net/blog/2011/08/23/apachebench-fails-after-mac-osx-lion-upgrage-apr_socket_recv-connection-reset-by-peer-54/

When I copied it over to /usr/sbin/ab, it now gives me the error above
(address family not supported).

I really want to get this working, any guesses what it could be?

Reply via email to