dlang website design

Sönke Ludwig via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 28 04:04:49 PDT 2017


Am 25.06.2017 um 01:12 schrieb Timon Gehr:
> On 25.06.2017 01:09, Adam D. Ruppe wrote:
>> On Saturday, 24 June 2017 at 23:00:59 UTC, Timon Gehr wrote:
>>> Failed to listen on :::80
>>
>> Listening on port 80 requires root anyway. That's why like my cgi.d 
>> uses 8085 - anything over 1024 can be listened by any user (and is 
>> less likely to have an existing program on it)
>>
> 
> Thanks! I guessed as much, but I don't have a setup where root can build 
> the code. (And I don't see why it should.)

Usually I'd use 8080 for examples, but the original example used port 
80, so I just followed along. HTTPServerSettings has a .port field that 
can be used to change the default.


More information about the Digitalmars-d mailing list