Article View: borland.public.cppbuilder.internet.web
Article #1110Re: TIdHTTPServer on Win XP Home
From: Hans Galema
Date: Mon, 09 May 2005 14:40
Date: Mon, 09 May 2005 14:40
56 lines
2772 bytes
2772 bytes
Ulli wrote: > my WebServer is most ready now. But now I tried to use it on a Win XP > Home system. First start is ok but on second start I get error message > "Could not bind socket. Adress and Portnumber are alredy in use". Does > XP home use IP Adress and Port in an other way then XP Professional? > Because this is not on XP Professional. Any idea? Can you confirm that after every reboot the first start is ok and the second finds the port in use ? What I have here on XP-Home since some months that webservers complain in the same way. Now when you open a console window and type netstat -nab you will find a list of all ports in use including the executable who has opened it. (If the list is too long the command will disappear and you will not see the top of the list. In that case try netstat -nab > c:\netstatout.txt and inspect netstatout.txt Here at the beginning of the list I get: Proto Lokaal adres Extern adres Status PID TCP 0.0.0.0:80 0.0.0.0:0 listening 2020 [lsasss.exe] TCP 0.0.0.0:135 0.0.0.0:0 listening 1216 c:\windows\system32\WS2_32.dll C:\WINDOWS\system32\RPCRT4.dll c:\windows\system32\rpcss.dll C:\WINDOWS\system32\svchost.exe -- parts unknown -- [svchost.exe] So lsasss.exe is to blame. Now with <Ctrl><Alt><Delete> the taskmanager shows this instance of lsasss.exe. When I kill it then a webserver can be started on the http-port 80. There is also a lsass.exe. Why XP does start lsasss.exe and what it is doing I don't know. Once when trying to connect with the browser I got a message that I did not have enough permissions. Had a deeper look now. lsass.exe is from microsoft. But lsasss.exe not. What is on my computer ? Would be glad to here from someone. Hans.
Technical Details
Message-ID:
<427f7705@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<opsqihd8zfgmwg2m@localhost>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,bb9edec1a2d39ba X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Mon, 09 May 2005 16:40:25 +0200 From: Hans Galema <notused@notused.nl> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.web Subject: Re: TIdHTTPServer on Win XP Home References: <opsqihd8zfgmwg2m@localhost> In-Reply-To: <opsqihd8zfgmwg2m@localhost> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 129.125.201.248 Message-ID: <427f7705@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1115649797 129.125.201.248 (9 May 2005 07:43:17 -0700) Lines: 56 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail