Re: [Cppcms-users] Can't get lighttpd to work with cppcms in Windows 7
Brought to you by:
artyom-beilis
|
From: Vizcayno <viz...@gm...> - 2013-06-25 18:30:55
|
Artyom Beilis <artyomtnk@...> writes:
>
>
> It seems that both lighttpd listens on 80 and fastcgi, change, fastcgi
port to a different one
>
>
Artyom, thanks for your attention. I followed your indications but I have a
new problem. It seems not to be related with cppCms, but according to your
experience, I ask for your help or tips again.
Initially I kept default port 80 to lighttpd (it worked) and 8080 to
fastcgi, I also put 8080 to configLH.js for the hello.exe program.
When running:
:lighttpd -D -f lighttpd.conf I get next message but the machine did not
crash:
2013-06-25 14:07:07: (log.c.166) server started
2013-06-25 14:07:07: (mod_fastcgi.c.1365) --- fastcgi spawning local
proc: c:/apps/vcApps/cppCms/Release/hello -c
c:/apps/vcApps/cppCms/Relea
se/configLH.js
port: 8080
socket
max-procs: 1
2013-06-25 14:07:07: (mod_fastcgi.c.1389) --- fastcgi spawning
port: 8080
socket
current: 0 / 1
system: an attempt was made to access a socket in a way forbidden by its
access permissions
It seems that the error is originated in the hello exe program when I
invoke from:
... "bin-path" => "c:/apps/vcApps/cppCms/Release/hello -c
c:/apps/vcApps/cppCms/Release/configLH.js", ...
I did another test:
I changed the port of lighttpd with server.port = 8080 (it works, too) and
kept the fastcgi port to 80. I kept the same port 80 for the file
configLH.js also. The results are the same for fastcgi.
I am using windows 7, 64 bits with last versión of lighttp for windows
(LightTPD for Windows - With OpenSSL) version 1.4.32-1 (IPv6). The machine
is in corporate network. I would suspect of restrictions in the firewall
but the administrator indicated me that the lighttpd should work. I also
installed the new and last version of cppCms without problems (thanks for
that!!).
Regards
Vizcayno.
|