
28 Nov
2008
28 Nov
'08
8:49 a.m.
Hi, I'm learnng to use fastcgi and, reading the examples, I see the main "loop" is like this: main = runFastCGI my_work However, isn't a fastcgi program supposed to choose a port where to listen to calls? For instance, in this C example: xzdev.com/nginx_fastcgi.html doesn't the line listen_socket = FCGX_OpenSocket(":8002", 2000); says it's listening to port 8002? I read the code for fastcgi, from hackage, and I can't find anything related to ports like, for instance, a default port. Am I understanding something the wrong way? Thanks, MaurĂcio