• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Problems with port 8080

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 2 Posters 5.8k Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    tjop
    last edited by Sep 29, 2016, 12:12 PM

    So my fitbit module stopped working yesterday morning. When I tried to set up a new token and credential file I was met with the following error. Could someone please help me figure out why the module is no longer working and what this error means.

    File “/usr/local/lib/python2.7/dist-packages/cherrypy/process/servers.py”, line 439, in wait_for_free_port
    raise IOError(“Port %r not free on %r” % (port, host))
    IOError: Port 8080 not free on ‘127.0.0.1’

    [28/Sep/2016:20:05:20] ENGINE Shutting down due to error in start listener:
    Traceback (most recent call last):
    File “/usr/local/lib/python2.7/dist-packages/cherrypy/process/wspbus.py”, line 243, in start
    self.publish(‘start’)
    File “/usr/local/lib/python2.7/dist-packages/cherrypy/process/wspbus.py”, line 223, in publish
    raise exc
    ChannelFailures: IOError(“Port 8080 not free on ‘127.0.0.1’”,)

    [28/Sep/2016:20:05:20] ENGINE Bus STOPPING
    [28/Sep/2016:20:05:20] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer((‘127.0.0.1’, 8080)) already shut down
    [28/Sep/2016:20:05:20] ENGINE Stopped thread ‘_TimeoutMonitor’.
    [28/Sep/2016:20:05:20] ENGINE Stopped thread ‘Autoreloader’.
    [28/Sep/2016:20:05:20] ENGINE Bus STOPPED
    [28/Sep/2016:20:05:20] ENGINE Bus EXITING
    [28/Sep/2016:20:05:20] ENGINE Bus EXITED

    1 Reply Last reply Reply Quote 0
    • K Offline
      KirAsh4 Moderator
      last edited by Sep 29, 2016, 5:31 PM

      You have something else on port 8080. Figure out what, change it, and the problem is fixed.

      NOTE: MagicMirror runs on port 8080 by default.

      A Life? Cool! Where can I download one of those from?

      T 1 Reply Last reply Sep 29, 2016, 10:47 PM Reply Quote 0
      • T Offline
        tjop @KirAsh4
        last edited by Sep 29, 2016, 10:47 PM

        @KirAsh4 I’m trying to learn how to do this. I am new to programming in general and was hoping someone could point me in the right direction or at least how to start trying to solve this issue on my own. The only stuff I have installed on my pi is magic mirror with the fitbit module and Weaved.

        1 Reply Last reply Reply Quote 0
        • K Offline
          KirAsh4 Moderator
          last edited by Sep 30, 2016, 3:19 AM

          If your FitBit application requires running on port 8080, you will run into exactly the problem you have because MagicMirror also runs on that same port. You will have to change one of them. MagicMirror is easy to change, it’s in the config.js file. Change the port setting to something else, like 8081 …or 8585 … or 8123 … doesn’t matter, as long as it’s above 8000, and not 8080 since the Fitbit runs on that port.

          A Life? Cool! Where can I download one of those from?

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            3/4
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy