Comments (6)
Hi @bjonness406,
My setup probably won't help you unfortunately. I only use a reverse proxy to access the UNMS webpage instance remotely, all my ubnt edge devices connect to the unms directly over a private subnet.
from docker-unms.
I think the problem is that I want to set another inform port than the standard.
I have tried to change -e PUBLIC_HTTPS_PORT=8082 and -e PUBLIC_WS_PORT=8082, but my edgemax devices will not connect to unms on port 8082. If I change the port on the Unms key to 443 from 8082 I get connected.
Is there a way to change the --ws-port on this docker? If not, is there any chance you could add this? Would be awsome.
"Use installation script argument --ws-port to configure the UNMS WebSocket server to use a separate port for communication with your devices."
https://help.ubnt.com/hc/en-us/articles/360000119728-UNMS-Optional-Installation-Steps#6
from docker-unms.
Have you tried it like this?
docker run -e PUBLIC_WS_PORT=8082 --e PUBLIC_HTTPS_PORT=8082 -p 8082:443 oznu/unms
from docker-unms.
yes, I have tried
docker run -e PUBLIC_WS_PORT=8082 --e PUBLIC_HTTPS_PORT=8082 -p 443:443 oznu/unms
Then I can still reach the WebUI from port 443, and only get connected from the edgemax products via port 443, and not 8082 which I want to change it too.
I have not tried changing to
docker run -e PUBLIC_WS_PORT=8082 --e PUBLIC_HTTPS_PORT=8082 -p 8082:443 oznu/unms
If I change to this, I will change the GUI port and inform port to 8082, which I don't want.
I want to be able to use a serperate port to communicate with my devices, so I don't expose the WebUI right away, but only behind my reverse proxy setup.
from docker-unms.
I've made a change that should help.
Wait for the build to complete: https://hub.docker.com/r/oznu/unms/tags/. Then pull down the latest version of the image:
docker pull oznu/unms
This new image allows you to set the ws port the built in nginx server exposes to be something different. The default is 443 which is the same as the GUI server.
docker run -p 443:443 -p 9000:9000 -e WS_PORT=9000 -e PUBLIC_WS_PORT=9000 oznu/unms
This should match the behaviour of the --ws-port
option.
Note that the logs will still say the http server and ws server are running on port 8081 and 8082, this is just the ports the node.js process is listening on, the containers nginx service is proxying requests from the WS_PORT
to 8082. Don't try and and set the WS_PORT
to 8081 or 8082 as well or else you'll end up with an EADDRINUSE
error.
from docker-unms.
Works perfect now! Thanks for the help.
from docker-unms.
Related Issues (20)
- Postgres doesn't start HOT 2
- Changing Port HOT 1
- 64bit arm?
- [Synology] Error on install HOT 2
- 0.13.3 image in docker hub HOT 3
- High load on raspberry with raspberian default install HOT 3
- Let's encrypt still not working on 0.13.3 HOT 9
- Docker Compose UNMS setup help please
- cannot download docker package
- Where do you put SSL certificates and how do you update them?
- Error when installing docker-compose HOT 2
- UNMS on Synology DS 918+ with Synology as reverse proxy HOT 2
- Instalation on Raspberry PI ZERO HOT 3
- Clear huge unms.log HOT 6
- Wiki: installing docker-compose can be done via apt-get
- Request: arm64 support
- image for 0.14.x HOT 2
- WebSocket Issue on 0.13.3
- oznu/docker-unms is no longer maintained HOT 10
- UNMS is starting this should not take more than a minute
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-unms.