Hi

Pritpal Bedi wrote:
> 
> I receive this error:
> 
> ? "bind() error", socket_error()
> 
> I am compiling uhttpd2.prg + socket.c.
> and executing as is on my laptop.
> 
> How do I need to execute it?
> 

Then I tried like uhttpd //port=81
and http server is up and running. I do not know why port 80 got denied.

Then I issued from IE 
http://127.0.0.1:81/
and got this error ( obivious ) == HTTP 403 Forbidden
and uhttpd_access.log is updated to this effect like :

127.0.0.1 - - [15/Dec/2008:12:51:06 +0000] "GET / HTTP/1.1" 403 48 ""
"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET
CLR 2.0.50727)"
127.0.0.1 - - [15/Dec/2008:12:51:41 +0000] "GET / HTTP/1.1" 403 48 ""
"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET
CLR 2.0.50727)"
127.0.0.1 - - [15/Dec/2008:12:52:20 +0000] "GET / HTTP/1.1" 403 48 ""
"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET
CLR 2.0.50727)"

So I assume that port 80 is reserved for realtime http servers like apache,
or I am missing something.

More investigations are about to follow.

Regards
Pritpal Bedi


-- 
View this message in context: 
http://www.nabble.com/mod_harbour-vs-apache.prg-tp21018073p21021885.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to