In order to let Monkey listen in a port < 1024: - It must be "started" by the root user - you can define a user on monkey.conf to switch after the port is binded, but that is just optional.
regards, On Mon, Jun 2, 2014 at 3:06 PM, Christian Stankowic <webmas...@stankowic-development.net> wrote: > Hi folks, > > sorry for the late answer. > > There is no other http daemon running: > # fuser -v -n tcp 80 > # netstat -tulpen|grep 80 > # curl -i http://localhost:80 > curl: (7) Failed to connect to localhost port 80: Connection refused > > The kernel versions are: > crux # uname -r > 3.13.2 > arch # uname -r > 3.14.4-1-ARCH > > Running the daemon with user root works like a charm. > But.. if I remember correctly it was also possible to run monkey listening on > 80 if it was started with user root - or am I wrong? > Normally I keep the default port of 2001 - but for the ports the users > requested to have port 80 like other web-server daemons. > > > Best regards, > Christian! > > > -----Ursprüngliche Nachricht----- > Von: Eduardo Silva [mailto:edsi...@gmail.com] > Gesendet: Donnerstag, 29. Mai 2014 22:39 > An: Christian Stankowic > Cc: Monkey > Betreff: Re: [Monkey] Monkey is unable to listen on port 80 > > 1) kernel version ? (uname -r) > > 2) did you check no other program is running on that port ? > > $ curl -i http://localhost:80 > > > > On Thu, May 29, 2014 at 2:36 PM, Christian Stankowic > <webmas...@stankowic-development.net> wrote: >> Hi folks, >> >> I'm currently having issues with running Monkey listening on tcp/80: >> >> # whoami >> root >> # monkey >> Monkey HTTP Daemon 1.5.0 >> Built : May 29 2014 20:13:08 (gcc 4.7.3) Home : >> http://monkey-project.com [+] Process ID is 4492 [+] Server socket >> listening on Port 80 [+] 1 threads, 508 client connections per thread, >> total 508 [+] Transport layer by liana in http mode [+] Linux >> Features: TCP_FASTOPEN SO_REUSEPORT >> [2014/05/29 22:30:45] [Warning] Error binding socket >> [2014/05/29 22:30:45] [ Error] Cannot listen on 0.0.0.0:80 >> >> It seems like this effect also applies to earlier versions as I got a >> similiar error report on the ArchLinux AUR >> (https://aur.archlinux.org/packages/monkey) >> >> Any ideas? >> >> Best regards, >> Christian. >> >> _______________________________________________ >> Monkey mailing list >> Monkey@lists.monkey-project.com >> http://lists.monkey-project.com/listinfo/monkey > > > > -- > Eduardo Silva > http://edsiper.linuxchile.cl > http://monkey-project.com > -- Eduardo Silva http://edsiper.linuxchile.cl http://monkey-project.com _______________________________________________ Monkey mailing list Monkey@lists.monkey-project.com http://lists.monkey-project.com/listinfo/monkey