Search This Blog

Tuesday, August 24, 2010

How to handle Selenium is already running on port 4444

When we run selenium RC test cases sometimes we faces this issue saying " Selenium is already running on port 4444. Or some other service is." When you check the port 4444 no service is running. We change the port and run the program even that too is not working.
In these cases we need to shutdown the selenium server on this port.
Use below command to shut down the server.


If selenium server is already running on port 4444 then it will shut down the server and says
if selenium is not running on this port 4444 then by hitting above url will give you
"Unable to connect"
Now you can run your test cases i am sure will run smoothing.


  1. Thanks! It works! :)
    Alex (Ukraine)

  2. This comment has been removed by a blog administrator.

  3. it reallY works! :) thanx a lot! :)

  4. Thanks it worked.... :)
    Rajesh (India)

  5. Hi,

    Please help. I am still facing this issue:
    "Selenium is already running on port 4444. Or some other service is."

    I use Selenium RC, TestNG and Java.


  6. Hi,

    Its works fine.
    But i have facing similar issue while running suite using XML file. The intersting thing here is that, if we start selenium server manualy suite running fine. But if we start server from the code[selenium.boot()], I am getting "Selenium is already running on port 4444. Or some other service is."
    after the first class in the suite. Could you please help me to overcome this?

  7. Thanks. It was a complete mystery to me how to solve this problem. Your url is very useful

  8. I am trying to run a test suite in XML.. but it says "Selenium is already running on port 4444. Or some other service is" . I cannot overcome from this issue. Can you please help me out...

  9. thanks a lot! May God bless you!

  10. Thanks. It works for me.

  11. Works great!! Thanks for the post!!

  12. thank u soooooooooooooooo muchhhhhhhhhhhhhhhhhhhhhhh

  13. hello there and thank you for your info ? I've definitely picked up anything new from right here. I did however expertise a few technical issues using this website, as I experienced to reload the site lots of times previous to I could get it to load correctly. I had been wondering if your web host is OK? Not that I'm complaining, but sluggish loading instances times will
    sometimes affect your placement in google and can damage your high-quality score if advertising and marketing with Adwords.
    Anyway I am adding this RSS to my e-mail and could look out for a lot more
    of your respective fascinating content. Ensure that you update this again very soon.

    my site what is the best acne treatment over the counter

  14. Hi there, every time i used to check weblog posts here in
    the early hours in the break of day, as i like to
    learn more and more.

    Also visit my blog post green Coffee bean extract gnc

  15. Hi there mates, its enormous article on the topic
    of cultureand entirely defined, keep it up all the time.

    my site the original source

  16. Definitely believe that which you stated. Your favorite reason appeared to be on the
    web the easiest thing to be aware of. I say to you, I certainly get irked
    while people think about worries that they just don't know about. You managed to hit the nail upon the top and also defined out the whole thing without having side effect , people can take a signal. Will likely be back to get more. Thanks

    my page ... houses

  17. Its like you read my mind! You seem to know so much
    about this, like you wrote the book in it or something.
    I think that you could do with a few pics to drive the message home a
    little bit, but other than that, this is excellent blog.

    A great read. I'll certainly be back.

    Also visit my webpage: view homepage

  18. Fantastic goods from you, man. I have remember your stuff previous to and
    you're simply too fantastic. I really like what you've
    received here, really like what you're saying and the best way by which you are saying it. You are making it enjoyable and you still care for to stay it wise. I cant wait to read much more from you. This is actually a tremendous web site.

    My homepage :: Buy Commercial Property evesham (worcestershire)

  19. go to task manager and kill java.exe ...

  20. Hello, I enjoy reading all of your article. I wanted to write
    a little comment to support you.

    Also visit my web site; cellulite treatment cream

  21. rosacea specialist Green Sulphur Springs

    My homepage ::

  22. Thanks, this helped me!

  23. Thanks for sharing great information in your blog. Got to learn new things from your Blog . It was very nice blog to learn about Selenium.

  24. It was very nice blog to learn about SAP BASIS. Thanks for sharing.SAP basis

  25. It was very nice blog to learn about Selenium.Thanks for sharing new things.selenium training in chennai

  26. From My search…Creating Experts provides Best SAP MM training with real time projects assistance. Most of the modules are equipped with advance level topics which the student can learn from the basics to the advance level stage. They also provide placement assistance in leading MNC companies across the globe according to the current requirements.
    And these are the Best SAP MM training institute which provides Real Time Hands on Training…
    Codedion Technologies-9003085882
    Creating Experts-8122241286
    They also providing both Classroom/Online Training

  27. It does not seem to work anymore

  28. Great thoughts you got there, believe I may possibly try just some of it throughout my daily life.
    Devops Training courses
    python Training in chennai
    Devops Training in Bangalore

  29. This is quite educational arrange. It has famous breeding about what I rarity to vouch.
    Colossal proverb. This trumpet is a famous tone to nab to troths. Congratulations on a career well achieved.
    This arrange is synchronous s informative impolite festivity to pity. I appreciated what you ok extremely here.

    Selenium interview questions and answers
    Selenium Online training
    Selenium training in Pune
    selenium training in USA
    selenium training in chennai

  30. Thank you for this post. Thats all I are able to say. You most absolutely have built this blog website into something speciel. You clearly know what you are working on, youve insured so many corners.thanks
    Python Online training
    python Course institute in Chennai
    Python Course institute in Bangalore

  31. http://localhost:4444/selenium-server/driver/?cmd=shutDownSeleniumServer how to run this command