Re: [Cppcms-users] Can't get lighttpd to work with cppcms in Windows 7
Brought to you by:
artyom-beilis
|
From: Artyom B. <art...@ya...> - 2013-06-26 06:58:55
|
First of all I'd suggest to set both lighttpd and cppcms ports above 1024 (that do not require admin permissions) i.e. lighttpd 8080, fastcgi 8081 and see if there is a progress. Also take a look on AV or firewall logs windows tend to block networking programs unless you permit them to listen explicitly. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >________________________________ > From: Vizcayno <viz...@gm...> >To: cpp...@li... >Sent: Tuesday, June 25, 2013 9:30 PM >Subject: Re: [Cppcms-users] Can't get lighttpd to work with cppcms in Windows 7 > > >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. > > > > > > > > >------------------------------------------------------------------------------ >This SF.net email is sponsored by Windows: > >Build for Windows Store. > >http://p.sf.net/sfu/windows-dev2dev >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |