November 16, 2010

Failed to start: SocketListener0@

14:45:33.140 WARN - Failed to start: SocketListener0@
Exception in thread "main" 
Selenium is already running on port 4444. Or some other service is.
at org.openqa.selenium.server.SeleniumServer.start(
at org.openqaselenium.server.SeleniumServer.boot(
at org.openqa.selenium.server.SeleniumServer.main(

This is the most common error which is encountered while starting the selenium server. The origin of this error is the fact that selenium server always tries to listen at port 4444 by default .
There are chances that when you are running tests, the server might not be shutdown properly. In this case, when you try to re-run your tests, you may encounter the following error

I Google for a solution and finally i got solution from my friends blog
Solution for the above problem is , type the below in the browser URL and the server will be stopped

Now your should be able to see the message "OKOK" in the browser window. Your server now shut downed. 

Now run your script from eclipse....server will start now with out any problem


  1. I am getting this error

    ERROR: ERROR: No sessionId provided. Most likely your original newBrowserSession command failed.

    1. 1) have to configure the RC -
      public class Login extends SeleneseTestCase {
      public SeleniumServer ss;
      static int port=1234;
      public void setUp() throws Exception {
      RemoteControlConfiguration rcc=new RemoteControlConfiguration();
      ss=new SeleniumServer(rcc);
      selenium = new DefaultSelenium("localhost", port, "*firefox", "application");

      2)in Cmd start the server with different port -
      java -jar selenium-server-standalone-...jar -port 1234

  2. I am getting this error in browser, Pls give solution.

    ERROR: ERROR: No sessionId provided. Most likely your original newBrowserSession command failed.

  3. I executed the url in the firefox browser and again restarted in the cmd promt but I get the same problem

  4. it works but you may not get okok message always,make sure that you have closed all the browers which are previously opened.and you may get a diffrent messsage that "unable to connect the server"

  5. I got this error and the URL works

  6. Can someone help-FF opens up but im unable to connect to the server?

  7. This commands works properly..

  8. Hi there! I know this is kinda off topic but I was wondering
    which blog platform are you using for this site? I'm getting sick and tired of Wordpress because I've had issues with hackers and
    I'm looking at alternatives for another platform. I would be great if you could point me in the direction of a good platform.

    Here is my web page - view next

  9. I'm gone to convey my little brother, that he should also visit this website on regular basis to obtain updated from newest news.

    Also visit my blog :: screen next

  10. Incredible points. Outstanding arguments. Keep up the good spirit.

    my page - view

  11. you are actually a good webmaster. The site loading velocity is amazing.
    It kind of feels that you are doing any unique trick.

    Furthermore, The contents are masterpiece. you've performed a magnificent task in this subject!

    Also visit my webpage :: click

  12. Appreciate the recommendation. Let me try it out.

    Also visit my blog post ... more about

  13. The other day, while I was at work, my cousin stole my iPad and tested to see if it can survive a 40 foot drop, just so she can be a youtube sensation.
    My apple ipad is now broken and she has 83 views. I know this is entirely off
    topic but I had to share it with someone!

    my web-site :: loltoplist

  14. Hi just wanted to give you a brief heads up and let you know a few of the
    images aren't loading properly. I'm not sure why but
    I think its a linking issue. I've tried it in two different internet browsers and both show the same results.

    Feel free to surf to my web blog :: three

  15. Thank you for the good writeup. It in truth used to be a entertainment account it.
    Glance advanced to more introduced agreeable from you!
    However, how could we keep up a correspondence?

    Here is my web blog: longleggs

  16. Stunning quest there. What occurred after? Take care!

    Also visit my blog; sandcastle

  17. Simply wish to say your article is as astonishing.
    The clarity in your put up is simply nice and i could suppose you're an expert on this subject. Well together with your permission let me to snatch your feed to keep up to date with imminent post. Thanks one million and please keep up the gratifying work.

    Here is my webpage latinamway

  18. It's going to be end of mine day, except before end I am reading this fantastic post to improve my know-how.

    My webpage; nautilus

  19. Thanks .. Failed to start: SocketListener0@ issue is resolved with shutdown cmd..

  20. thanks for shutdown command! worked great

  21. Thanks a lot for this information. It worked for me.