Setup ip ports on Windows Server

The service script is going to be looking at the config file in the above filepath (this is all in the installation docs), whereas your command to explicitly run it is directly referencing your own config file at a different location.

I would suggest moving your own config file to C:\Program Files\Couchbase\Sync Gateway\serviceconfig.json so the service script reads it.