If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.

To restart the Selenium Webdriver mock browser in a testcase, first use 'driver.close()' and then reinstantiate the driver.


Firewall might be blocking your connection, or MySQL it's not running on your server machine.


Check if you have started your server, or if your server is set to listen to the port you're trying to connect and is waiting to accept connections and check if the firewall isn't blocking your connection.


spring-data-redis requires redis 2.6+ to work properly.


Check if your MongoDB is available.


host port isnt set


Check if ip adress is correct, if the port is correct, and if the server is up and running and waiting for connections. Also, check if there's no firewall blocking you and if your internet connection is working.


You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • webcenter sites post installation error
    via by Sashank Pappu,
  • Webcenter Sites 11g startup
    via by 2807462,
  • Web Center Sites Login issue
    via by 2697344,
  • Can't find controllers
    via GitHub by davidmichaelkarr
    • com.fatwire.cs.core.http.HttpAccessException: org.apache.http.conn.HttpHostConnectException: Connection to refused at com.fatwire.cs.core.http.HttpAccess.execute( at COM.FutureTense.Util.ftUtil._readUsingHttpAccess( at COM.FutureTense.Util.ftUtil.readByteURL( at COM.FutureTense.Util.ftUtil.readURL( at COM.FutureTense.Platform.SystemEvents.RequestEventItem.execute( at at COM.FutureTense.Platform.SystemEvents.FileSystemBasedClusteredEventExecutor$ at COM.FutureTense.Platform.SystemEvents.FileSystemBasedClusteredEventExecutor$ at at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$ at Caused by: org.apache.http.conn.HttpHostConnectException: Connection to refused at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection( at at at org.apache.http.impl.client.DefaultRequestDirector.tryConnect( at org.apache.http.impl.client.DefaultRequestDirector.execute( at org.apache.http.impl.client.AbstractHttpClient.execute( at com.fatwire.cs.core.http.HttpAccess.execute( at com.fatwire.cs.core.http.HttpAccess.execute( ... 11 more Caused by: Connection refused: connect at Method) at at at at at at at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket( at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection( ... 18 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    1 times, last one,
    1 times, last one,
    Alexandru PopaAlexandru Popa
    3 times, last one,
    2 times, last one,
    388 more bugmates