-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Portainer's use of port 9000 clashes with OS5's use of http://127.0.0.1:9000/rpc #93
Comments
Solved by changing all references of -p 9000:9000 to -p 9006:9000. Being a docker newbie I removed the entire container, pulled portainer from DockerHub and ran portainer with the host. Immediate problem solved. The WD Docker app needs modifying |
I've never seen a conflict on port 9000 on my EX4100. |
It's there. Try something...... How long does it take the EX4100 to finish getting ready a plugged in USB storage device and then also how long does it take for the USB device to be ejected? For me both took quite a long time. As soon as I moved Portainer to another port the USB port and the drive gets installed and ejected a lot faster. |
I just plugged in a USB drive I was using on Windows into the NAS and it found it straight away and I could read the contents under "/mnt/USB/USB3_d1". Similarly with unmounting. Try running this (9000 is showing a docker-container binding to the port - portainer) :
|
The IP in question is 127.0.0.1. What was noticeable was that the power button LED kept on blinking blue for a lone time on USB drive being plugged in or an eject request from the UI. As soon as Portainer's port was changed from 9000 to 9006 the issue was gone. Maybe it's different on the EX4100? |
Port 9000 is in use on the PR4100 by Twonkey. Looking for fix, assistance appreciated. |
As posted above by Myron, change the reference in "update_portainer.sh" where the port mapping is done. Myron has changed this from 9000:9000 to 9006:9000, so try something similar. Cheers, JediNite |
Yea. Solved over a year ago. Lol. Thanks. |
Connected to Docker.
I was wondering why it was taking forever for the OS5 to recognise USB connected storage and even unmounting USB storage.
Reason is that as portainer grabs TCP port 9000, when OS5 tries to access http://127.0.0.1:9000/rpc using wget, it always fails.
I have managed to get round this issue by removing the container the installed portainer is and re-installing using the update_portainer.sh script in the Nas_Progs/docker directory, but alter the docker run command to use a different port. I opted to use port 9006 as it seems to be unused.
Is there any way to change port assignments without having to stop and remove the docker container hosting portainer/?
/shares/Volume_1/Nas_Prog/docker/update_portainer.sh:
I changed 9000:9000 to 9006:9000 and also other scripts where the port 9000:9000 are located. Seems to work.
This is what happens when OS5 tried to mount and unmount USB storage when portainer is operating in it's present configuration.
The text was updated successfully, but these errors were encountered: