In my case, I use t2.micro on AWS.
Make sure the security group is configured to allow incoming connection to port 28388
git clone https://github.com/litaxc/shadowsocks-server-setup.git
cd shadowsocks-server-setup
sh ./up.sh
sudo lsof -nPi | grep 28388