If you are behind an HTTP proxy that requires authentication, you would also need to set http.proxyUser and http.proxyPassword in addition to http.proxyHost and http.proxyPort.
An example:
java -jar selenium-server.jar -Dhttp.proxyHost=my.proxy.com -Dhttp.proxyPort=8080 -Dhttp.proxyUser=my_username -Dhttp.proxyPassword=my_password

Comments (2)
May 09, 2007
Hankel says:
What is the method to set up an auto-proxy ? Thank you.What is the method to set up an auto-proxy ?
Thank you.
Jul 31, 2009
Pallavi says:
Thanks for the post, helped me with my proxy issue with seleniumThanks for the post, helped me with my proxy issue with selenium