The UI doesn’t let you set ports under 1024 as they require special privileges in linux. To use those ports you will need to set up in your case shadowsocks from commandline, with root.
https://www.staldal.nu/tech/2007/10/31/why-can-only-root-listen-to-ports-below-1024/