Shared Hosting for Everyone, imagined by developers, for developers.
Discovering the Public CloudYou can register services: They are custom programs running in a headless mode (i.e. without any user interaction).
Those services are declared in the administration panel’s Advanced > Services.
The service is considered functional when the command does not stop and runs in the foreground.
When you need to join your service from an external application, you must pick a port in the 8300
and 8499
range, and attach your service on ::
(IPv6 only). Your service will be reachable on this port at the address services-[account].alwaysdata.net:[PORT]
1.
there is no network filtering, anyone can connect to your services. Make sure your services have an authentication mechanism if necessary.
Unlike a command launched by-hand trough SSH, those services will be restarted automatically by the system when the service stops.
The optional Monitoring command allows you to specify a command used to check the service’s status. When this command returns an error code, the service is restarted. E.g. you can ping the service on the assigned port (i.e. 8300):
$ nc -z services-[account].alwaysdata.net 8300
[account]
to be replace by the account name. ↩︎