Search
 
 

Display results as :
 


Rechercher Advanced Search

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Exception in thread "main" java.net.BindException: Selenium is already running on port 4444. Or some other service is.

View previous topic View next topic Go down

Exception in thread "main" java.net.BindException: Selenium is already running on port 4444. Or some other service is.

Post by divya_agsrdk on Mon Feb 11, 2013 2:22 pm

0 [main] INFO org.openqa.selenium.server.SeleniumServer - Java: Sun Microsystems Inc. 11.0-b12
0 [main] INFO org.openqa.selenium.server.SeleniumServer - OS: Windows XP 5.1 x86
0 [main] INFO org.openqa.selenium.server.SeleniumServer - v2.20.0, with Core v2.20.0. Built from revision 16008
203 [main] INFO org.openqa.selenium.server.SeleniumServer - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub
203 [main] INFO org.openqa.jetty.http.HttpServer - Version Jetty/5.1.x
203 [main] INFO org.openqa.jetty.util.Container - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
203 [main] INFO org.openqa.jetty.util.Container - Started HttpContext[/selenium-server,/selenium-server]
203 [main] INFO org.openqa.jetty.util.Container - Started HttpContext[/,/]
219 [main] INFO org.openqa.jetty.util.Container - Started org.openqa.jetty.jetty.servlet.ServletHandler@a32b
219 [main] INFO org.openqa.jetty.util.Container - Started HttpContext[/wd,/wd]
219 [main] WARN org.openqa.jetty.util.ThreadedServer - Failed to start: SocketListener0@0.0.0.0:4444
Exception in thread "main" java.net.BindException: Selenium is already running on port 4444. Or some other service is.
at org.openqa.selenium.server.SeleniumServer.start(SeleniumServer.java:470)
at login.main(login.java:10)

Used jdk -1.6
selenium-server-standalone-2.25.0.jar
eclipse java indigosr2win32. wen i run progrm getting error in eclipse..
selenium-server-standalone-2.25.0.jar s not running properly. getting stop.
any solution?

How to stop running server?

divya_agsrdk
Professional
Professional

Posts : 93
Join date : 2013-01-17

Back to top Go down

Re: Exception in thread "main" java.net.BindException: Selenium is already running on port 4444. Or some other service is.

Post by adityac on Mon Feb 11, 2013 2:35 pm

http://localhost:4444/selenium-server/driver/?cmd=shutDownSeleniumServer

Use this link when u get this error

adityac
Professional
Professional

Posts : 101
Join date : 2013-01-17

Back to top Go down

Re: Exception in thread "main" java.net.BindException: Selenium is already running on port 4444. Or some other service is.

Post by divya_agsrdk on Wed Feb 13, 2013 2:07 pm

not working..

divya_agsrdk
Professional
Professional

Posts : 93
Join date : 2013-01-17

Back to top Go down

Re: Exception in thread "main" java.net.BindException: Selenium is already running on port 4444. Or some other service is.

Post by divya_agsrdk on Wed Feb 13, 2013 5:52 pm

y it ll not stop even by that link

divya_agsrdk
Professional
Professional

Posts : 93
Join date : 2013-01-17

Back to top Go down

Re: Exception in thread "main" java.net.BindException: Selenium is already running on port 4444. Or some other service is.

Post by adityac on Wed Feb 13, 2013 7:08 pm

it should stop.... i hav tried same link many number of times and i suceeded in stpping it

adityac
Professional
Professional

Posts : 101
Join date : 2013-01-17

Back to top Go down

Re: Exception in thread "main" java.net.BindException: Selenium is already running on port 4444. Or some other service is.

Post by divya_agsrdk on Thu Feb 14, 2013 4:51 pm

then y i m getting that message .?
I tried in many browsers to shut down the server. not succeeded.

Link doesnt work..

divya_agsrdk
Professional
Professional

Posts : 93
Join date : 2013-01-17

Back to top Go down

Re: Exception in thread "main" java.net.BindException: Selenium is already running on port 4444. Or some other service is.

Post by adityac on Thu Feb 14, 2013 4:54 pm

else do one thing there will be red button in eclipse console wn u run the code... u can stop that

adityac
Professional
Professional

Posts : 101
Join date : 2013-01-17

Back to top Go down

Re: Exception in thread "main" java.net.BindException: Selenium is already running on port 4444. Or some other service is.

Post by divya_agsrdk on Thu Feb 14, 2013 4:55 pm

k let me try..

divya_agsrdk
Professional
Professional

Posts : 93
Join date : 2013-01-17

Back to top Go down

Re: Exception in thread "main" java.net.BindException: Selenium is already running on port 4444. Or some other service is.

Post by divya_agsrdk on Fri Feb 15, 2013 9:49 am

red button in eclipse console is nothng but - Terminate right...

that is not in red color. diabled showing in gray color

divya_agsrdk
Professional
Professional

Posts : 93
Join date : 2013-01-17

Back to top Go down

Re: Exception in thread "main" java.net.BindException: Selenium is already running on port 4444. Or some other service is.

Post by adityac on Fri Feb 15, 2013 11:54 am

dnt use 4444 port..try anther instead of that

adityac
Professional
Professional

Posts : 101
Join date : 2013-01-17

Back to top Go down

Re: Exception in thread "main" java.net.BindException: Selenium is already running on port 4444. Or some other service is.

Post by divya_agsrdk on Fri Feb 15, 2013 1:59 pm

i tried with couple of ports... nt getting..

divya_agsrdk
Professional
Professional

Posts : 93
Join date : 2013-01-17

Back to top Go down

Re: Exception in thread "main" java.net.BindException: Selenium is already running on port 4444. Or some other service is.

Post by adityac on Fri Feb 15, 2013 2:42 pm

ru running server frm cmd prompt or frm eclipse??

adityac
Professional
Professional

Posts : 101
Join date : 2013-01-17

Back to top Go down

Re: Exception in thread "main" java.net.BindException: Selenium is already running on port 4444. Or some other service is.

Post by divya_agsrdk on Sat Feb 16, 2013 1:44 pm

frm cmd prompt.. oh is it posible to run server at eclipse also??? how ?

i solved that error... i got it.. some other server was running on that port so i end that process...

divya_agsrdk
Professional
Professional

Posts : 93
Join date : 2013-01-17

Back to top Go down

Re: Exception in thread "main" java.net.BindException: Selenium is already running on port 4444. Or some other service is.

Post by adityac on Mon Feb 18, 2013 5:15 pm

in eclipse u can run from top menu...there will be run button or else right click on prgm area run as java application/testng/junit... based on ur coding

adityac
Professional
Professional

Posts : 101
Join date : 2013-01-17

Back to top Go down

Re: Exception in thread "main" java.net.BindException: Selenium is already running on port 4444. Or some other service is.

Post by iosman on Tue Feb 19, 2013 4:34 am

'm looking for an automation tester (Selenium Web Driver) with solid experience in Java. Please contact me if you are interested.
toptestlondon at googlemail dot com

iosman

Posts : 4
Join date : 2013-02-18

Back to top Go down

Re: Exception in thread "main" java.net.BindException: Selenium is already running on port 4444. Or some other service is.

Post by ravinderreddy on Mon Apr 08, 2013 5:28 pm

If u ever get this error again then try this code.
RemoteControlConfiguration rcc=new RemoteControlConfiguration();
rcc.setPort(5555);
ss= new SeleniumServer(rcc);
ss.start();
selenium = new DefaultSelenium("localhost", 5555, "*chrome", "http://google.com");
selenium.start();

ravinderreddy

Posts : 6
Join date : 2012-11-10
Age : 30
Location : Hyderabad/Mumbai

Back to top Go down

Re: Exception in thread "main" java.net.BindException: Selenium is already running on port 4444. Or some other service is.

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum