Re: HTTPServer and Delphi2007

Giganews Newsgroups
Subject: Re: HTTPServer and Delphi2007
Posted by:  Thomas Bergerot (
Date: Sat, 26 Apr 2008

Mark Helwig a écrit :
> I am migrating a program over from Indy 9 to Indy 10 and am experiencing
> problems with the idHTTPServer component. Whenever I set the component's
> Active property to TRUE, the program gives a 10048 error (Socket already in
> use). I tried running the MWS.dproj example from Indy Playground and got the
> same results. This happens for both Indy 9&10 in Delphi2007. Any
> suggestions?

This would be rather in a.i.p.http...

Are you sure you don't have another program listenning on the same port ?

You can also try to set IdHttpServer.ReuseSocket to rsTrue, this will
force Indy to set SO_REUSEADDR flag of socket options, and sometimes
solves this kind of problem.





In response to

HTTPServer and Delphi2007 posted by Mark Helwig on Thu, 24 Apr 2008