I received the following error on Apache bench:
apr_socket_connect(): Invalid argument (22)
when trying to connect to http://localhost:9202.
I received the following error on Apache bench:
apr_socket_connect(): Invalid argument (22)
when trying to connect to http://localhost:9202.
On OSX, the fix is to use "http://127.0.0.1" instead of localhost. Not sure why, but that prevents the error.