# Https localhost port already in use?

**URL:** <https://discuss.circleci.com/t/https-localhost-port-already-in-use/11968>\
**Category:** Build Environment\
**Created:** [April 14, 2017, 8:46pm UTC](https://discuss.circleci.com/t/https-localhost-port-already-in-use/11968 "2017-04-14T20:46:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![b4hand](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/b4hand/32/35480_2.png) [@b4hand](https://discuss.circleci.com/u/b4hand)\
**Post date:** [April 14, 2017, 8:46pm UTC](https://discuss.circleci.com/t/https-localhost-port-already-in-use/11968/1 "2017-04-14T20:46:42Z")

</div>

I am trying to ping a nodejs server that I start at [https://0.0.0.8000](https://0.0.0.8000) for a selenium test. I have a curl script that checks to see if the server has started. Once the test starts, however, the script returns that the server is up. So when my test tries to access the URL, the page is incorrect and the test fails.

It seems like something is using the port already or, maybe I am missing something when it comes to localhost testing on circle.

These are the test runs. Just scroll down to the failure.  
[https://circleci.com/gh/jrbenny35/testpilot/tree/initial\_ui\_tests](https://circleci.com/gh/jrbenny35/testpilot/tree/initial_ui_tests)

Everything runs fine locally.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:39am UTC](https://discuss.circleci.com/t/https-localhost-port-already-in-use/11968/2 "2018-06-18T11:39:23Z")

</div>

Closed on June 18, 2018, 11:39am UTC


