# Livereload error: This port only serves livereload.js over HTTP

**URL:** <https://talk.jekyllrb.com/t/livereload-error-this-port-only-serves-livereload-js-over-http/1805>\
**Category:** Help\
**Created:** [May 18, 2018, 2:42pm UTC](https://talk.jekyllrb.com/t/livereload-error-this-port-only-serves-livereload-js-over-http/1805 "2018-05-18T14:42:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jkd77](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/jkd77/32/506_2.png) [@jkd77](https://talk.jekyllrb.com/u/jkd77)\
**Post date:** [May 18, 2018, 2:42pm UTC](https://talk.jekyllrb.com/t/livereload-error-this-port-only-serves-livereload-js-over-http/1805/1 "2018-05-18T14:42:39Z")

</div>

Hey Team, I hope this is the right location for help with this issue. I’m using the following to build a Bootstrap 4 template:

```
"project-serve": "bundle exec jekyll serve --livereload"

```

In \_config.yml the pertinent options are set as follows:

# Server

source: “src”  
destination: “dist”  
keep\_files: [“css”]  
host: 127.0.0.1  
port: 9001  
baseurl: “”

When I launch 127.0.0.1:35729 in a browser, I get the following error:

```
This port only serves livereload.js over HTTP.

```

In terminal, everything seems good:

```
Configuration file: _config.yml
        Source: src
   Destination: dist

```

Incremental build: disabled. Enable with --incremental  
Generating…  
done in 0.048 seconds.  
Auto-regeneration: enabled for ‘src’  
LiveReload address: [http://127.0.0.1:35729](http://127.0.0.1:35729)  
Server address: [http://127.0.0.1:9001/](http://127.0.0.1:9001/)  
Server running… press ctrl-c to stop.

Most of the references to this issue hinge on not having a head element, which I do have. I’m not building for GitHub btw, if that matters. It’s just a local build. I would really appreciate an assist with this as it’s been vexing me for numerous hours. I’m on an OSX machine if it matters. Thanks in advance!

---

<div class="post-metadata">

**Author:** ![chrisfinazzo](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/chrisfinazzo/32/561_2.png) [@chrisfinazzo](https://talk.jekyllrb.com/u/chrisfinazzo)\
**Post date:** [May 18, 2018, 3:19pm UTC](https://talk.jekyllrb.com/t/livereload-error-this-port-only-serves-livereload-js-over-http/1805/2 "2018-05-18T15:19:12Z")

</div>

It’s my understanding that you still need to access port 9001 to see your content; 35729 just manages the LiveReload process.

---

<div class="post-metadata">

**Author:** ![jkd77](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/jkd77/32/506_2.png) [@jkd77](https://talk.jekyllrb.com/u/jkd77)\
**Post date:** [May 18, 2018, 3:34pm UTC](https://talk.jekyllrb.com/t/livereload-error-this-port-only-serves-livereload-js-over-http/1805/3 "2018-05-18T15:34:30Z")

</div>

YOU ARE THE MAN. Thanks!
