Help! Can not connect to 127.0.0.1:8081/openhab.app?sitemap=demo

Help!

I deployed openHAB on my new MAC and start it with ‘sudo sh start.sh’. But I can’t visit http://127.0.0.1:8080/openhab.app?sitemap=demo and it said 127.0.0.1 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: java.io.IOException: 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.