Fresh install but will not restart

Dear folks,

Just installed HA on my Mac (iMac) for testing and fiddling. Worked fine out of the box (sort of) but now I’m having trouble restarting HA. I get this error when i run hass --open-ui:

    16-11-02 21:54:13 INFO (Thread-6) [netdisco.service] Scanning
Exception in thread WSGI-server:
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/threading.py", line 914, in _bootstrap_inner
    self.run()
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/tomerik/.homeassistant/deps/cherrypy/wsgiserver/__init__.py", line 2008, in start
    raise socket.error(msg)
OSError: No socket could be created -- (('0.0.0.0', 8123): [Errno 48] Address already in use)

Any clues on what’s wrong?

Is there already a running Home Assistant instance or one that wasn’t killed properly?

That might be the case. How can I find that out?

Search for hass by listing the running processes. I guess that this works on macOS too.