Just make sure your server address is non-https or https.
And check the REST port number.
You should provide to the app the server REST PORT, not the server PORT that connect via Terraria game client
Things you need: (see this how-to)
- IP Address
- Check if Address is HTTPS or not
- Check if TShock server is REST enabled
- Have a TOKEN as superadmin, preferable a static token