🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.web
6 messages
6 total messages Started by Ulli Mon, 09 May 2005 14:04
TIdHTTPServer on Win XP Home
#1109
Author: Ulli
Date: Mon, 09 May 2005 14:04
17 lines
1184 bytes
Hi,

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?

Thanks
Ulli
Re: TIdHTTPServer on Win XP Home
#1110
Author: Hans Galema
Date: Mon, 09 May 2005 14:40
56 lines
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.
Re: TIdHTTPServer on Win XP Home
#1112
Author: Remy Lebeau (TeamB)
Date: Mon, 09 May 2005 16:50
13 lines
1344 bytes
<Ulli> wrote in message news:opsqihd8zfgmwg2m@localhost...

> 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".

Do you have another web server on your machine?  Do you have XP's built-in
firewall enabled?


Gambit
Re: TIdHTTPServer on Win XP Home
#1113
Author: Ulli
Date: Mon, 09 May 2005 17:52
36 lines
1977 bytes
No there is no other WebServer and the firewall is inactive.

What I figured out now is that just the application needs very long to 
destroy. Means if I close my Form and watch the TaskManager it needs 
bitween 1 and 10 seconds that my Application disappears. And of corse when 
ist's running it's using port and IP. That is not with XP Pro.
Maybe I can live with that.

Thanks
Ulli

Am Mon, 9 May 2005 09:50:23 -0700 schrieb Remy Lebeau (TeamB) 
<no.spam@no.spam.com>:

>
> <Ulli> wrote in message news:opsqihd8zfgmwg2m@localhost...
>
>> 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".
>
> Do you have another web server on your machine?  Do you have XP's 
> built-in
> firewall enabled?
>
>
> Gambit
>
>
Re: TIdHTTPServer on Win XP Home
#1114
Author: Ulli
Date: Mon, 09 May 2005 17:54
78 lines
3364 bytes
I tried netstat for you, and there's no lsasss.exe here just lsass.exe. 
Not on XP Home, not on XP Pro.

Ulli

Am Mon, 09 May 2005 16:40:25 +0200 schrieb Hans Galema 
<notused@notused.nl>:

> 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.
Re: TIdHTTPServer on Win XP Home
#1116
Author: Hans Galema
Date: Mon, 09 May 2005 19:32
10 lines
1278 bytes
Ulli wrote:
> I tried netstat for you, and there's no lsasss.exe here just lsass.exe. 
> Not on XP Home, not on XP Pro.

That does not matter then. Then just use it to see which program
uses port 80.

Oh, it's your own ?

Hans.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads