Hi
Installed the Lora-Server and app-server according to https://www.loraserver.io/guides/debian-ubuntu/.
As port 8080 is in use I changed the port for web-inteface to 8089 (tried also with port 80)
When I try to connect from browser I get error “Unable to connect”
When I check if lora-app server is listning to port I can’t find that it is
This is he output of log:
Sep 26 16:15:43 smartgreen-fitlet2 systemd[1]: Started LoRa App Server.
Sep 26 16:15:44 smartgreen-fitlet2 lora-app-server[16028]: time="2019-09-26T16:15:44+03:00" level=info msg="starting LoRa App Server" docs="https://www.loraserver.io/" version=3.3.1
Sep 26 16:15:44 smartgreen-fitlet2 lora-app-server[16028]: time="2019-09-26T16:15:44+03:00" level=info msg="storage: setting up storage package"
Sep 26 16:15:44 smartgreen-fitlet2 lora-app-server[16028]: time="2019-09-26T16:15:44+03:00" level=info msg="storage: setting up Redis pool"
Sep 26 16:15:44 smartgreen-fitlet2 lora-app-server[16028]: time="2019-09-26T16:15:44+03:00" level=info msg="storage: connecting to PostgreSQL database"
Sep 26 16:15:44 smartgreen-fitlet2 lora-app-server[16028]: time="2019-09-26T16:15:44+03:00" level=info msg="storage: applying PostgreSQL data migrations"
Sep 26 16:15:44 smartgreen-fitlet2 lora-app-server[16028]: time="2019-09-26T16:15:44+03:00" level=info msg="storage: PostgreSQL data migrations applied" count=0
Sep 26 16:15:44 smartgreen-fitlet2 lora-app-server[16028]: time="2019-09-26T16:15:44+03:00" level=info msg="integration/mqtt: TLS config is empty"
Sep 26 16:15:44 smartgreen-fitlet2 lora-app-server[16028]: time="2019-09-26T16:15:44+03:00" level=info msg="integration/mqtt: connecting to mqtt broker" server="tcp://localhost:1883"
This is my configuration file
[general]
log_level=4
# PostgreSQL settings.
#
dsn="postgres://loraserver_as:dbpassword@localhost/loraserver_as?sslmode=disable"
# Redis settings
url="redis://localhost:6379"
# Application-server settings.
[application_server]
# Integration configures the data integration.
#
# This is the data integration which is available for all applications,
# besides the extra integrations that can be added on a per-application
# basis.
[application_server.integration]
# Enabled integrations.
enabled=["mqtt"]
# MQTT integration backend.
[application_server.integration.mqtt]
# MQTT topic templates for the different MQTT topics.
#
# The meaning of these topics are documented at:
# https://www.loraserver.io/lora-app-server/integrate/data/
#
# The following substitutions can be used:
# * "{{ .ApplicationID }}" for the application id.
# * "{{ .DevEUI }}" for the DevEUI of the device.
#
# Note: the downlink_topic_template must contain both the application id and
# DevEUI substitution!
uplink_topic_template="application/{{ .ApplicationID }}/device/{{ .DevEUI }}/rx"
downlink_topic_template="application/{{ .ApplicationID }}/device/{{ .DevEUI }}/tx"
join_topic_template="application/{{ .ApplicationID }}/device/{{ .DevEUI }}/join"
ack_topic_template="application/{{ .ApplicationID }}/device/{{ .DevEUI }}/ack"
error_topic_template="application/{{ .ApplicationID }}/device/{{ .DevEUI }}/error"
status_topic_template="application/{{ .ApplicationID }}/device/{{ .DevEUI }}/status"
location_topic_template="application/{{ .ApplicationID }}/device/{{ .DevEUI }}/location"
# MQTT server (e.g. scheme://host:port where scheme is tcp, ssl or ws)
server="tcp://localhost:1883"
# Connect with the given username (optional)
username=""
# Connect with the given password (optional)
password=""
# Settings for the "internal api"
#
# This is the API used by LoRa Server to communicate with LoRa App Server
# and should not be exposed to the end-user.
[application_server.api]
# ip:port to bind the api server
bind="0.0.0.0:8001"
# Public ip:port of the application-server API.
#
# This is used by LoRa Server to connect to LoRa App Server. When running
# LoRa App Server on a different host than LoRa Server, make sure to set
# this to the host:ip on which LoRa Server can reach LoRa App Server.
# The port must be equal to the port configured by the 'bind' flag
# above.
public_host="localhost:8001"
# Settings for the "external api"
#
# This is the API and web-interface exposed to the end-user.
[application_server.external_api]
# ip:port to bind the (user facing) http server to (web-interface and REST / gRPC api)
bind="0.0.0.0:8089"
# http server TLS certificate (optional)
tls_cert=""
# http server TLS key (optional)
tls_key=""
# JWT secret used for api authentication / authorization
# You could generate this by executing 'openssl rand -base64 32' for example
jwt_secret="**************"
# Join-server configuration.
#
# LoRa App Server implements a (subset) of the join-api specified by the
# LoRaWAN Backend Interfaces specification. This API is used by LoRa Server
# to handle join-requests.
[join_server]
# ip:port to bind the join-server api interface to
bind="0.0.0.0:8003"
Thankful for your help.
Nathan