Nc-forward-ports failed with code 606


Since several weeks, my nexcloud is not anymore accessible from outside home network.

The UPNP is activated on the router.

I’ve checked on and both 80 and 443 ports are opened.

When launchin nc-forward-ports on both TUI or the WebUI, I get the same message:
AddPortMapping(443, 443, Raspi local adress) failed with code 606 (Action not authorized)
GetSpecificPortMappingEntry() failed with code 606 (Action not authorized)

Could not forward ports automatically.
Do it manually, or activate UPnP in your router and try again
Done. Press any key…

Do you have an idea where does it come from?


Please describe your used environment IN DETAIL, because it isn’t by default in the responsibility of Nextcloud to do any port forwardings etc.

1 Like


Could you please let me know what kind of information will be useful?


Something like that:

NextCloudPi version v1.26.2
NextCloudPi image NextCloudPi_03-09-19
distribution Raspbian GNU/Linux 9 \n \l
automount yes
USB devices sda
data in SD no
data filesystem ext2/ext3
data disk usage 374G/897G
rootfs usage 1.8G/30G
Nextcloud check ok
Nextcloud version
HTTPD service up
PHP service up
MariaDB service up
Redis service up
Postfix service up
internet check ok
port check 80 open
port check 443 open