Default Port 8080

  • Platform information:
    • Hardware: AMD/16gb
    • OS: Ubuntu 16.04
    • Java Runtime Environment: which java platform is used and what version
    • openHAB version:
  • Issue of the topic: Default port change
    I changed and uncommented the ports to
    OPENHAB_HTTP_PORT=8088
    OPENHAB_HTTPS_PORT=8449

and setup port forwarding in my router, then i restarted the service and it wont open in the webpage. What am I doing wrong?

Regards
Jamie

First thing you are doing wrong is trying to expose an unprotected openHAB to the Internet by punching a hole in your firewall using port forwarding. Please don’t do this.

Use myopenhab.org or https://www.openhab.org/docs/installation/security.html to access your OH remotely.

Beyond that, you haven’t provided near enough information to answer your question and in all likelihood the problem is with your router configuration and not OH, unless you can’t access OH on your LAN either, in which case the port forward on your router is irrelevant.

What Rich says - dangerous. It’ll get picked up by bots very soon and listed on the open iot search engines. Not cool.

But, your problem could also be the " java cannot use privileged ports unless its root" feature.

What’s in the error logs? /var/log/messages