Help! Can not connect to


I deployed openHAB on my new MAC and start it with ‘sudo sh’. But I can’t visit and it said refused to connect.
Can anyone help me? Thanks.

When I try ‘sudo lsof -i :8080 | grep LISTEN’ there is no result. But openHAB seems already start successfully.

16:28:15.581 [Start Level Event Dispatcher] WARN o.e.j.u.component.AbstractLifeCycle - FAILED org.eclipse.jetty.server.NCSARequestLog@714740d4: Cannot write log directory /Users/shihaojing/openHAB/openHAB/logs

This may be the problem. But how to solve it?

Did you mean to put OH in your home dir? If OH is running as the openhab ID, then you will have permission issues.

What OS are you running on and how did you install?

Thanks guys. I have already solved. It turns out I replace configurations dir with demo’s configuration dir.