The reason of vibed slow down (request timeout)

aberba via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Feb 3 01:42:38 PST 2017


On Friday, 3 February 2017 at 06:46:37 UTC, Suliman wrote:
> If I open it's from VPS (as localhost:8080) it's work same as 
> from Internet (no do not open at all).

One this I may suggest is the port if its used already (8080). 
Try to use;

import std.process: environment;
settings.port = environment.get("PORT", "8080").to!short;


More information about the Digitalmars-d-learn mailing list