[fpc-pascal] FPC + Indy

Cesar Romero cesarliws at gmail.com
Fri Jul 18 19:35:28 CEST 2008


Hi Michael,
>
>   
>> I wrote a appserver with fpc +Indy, all works just fine in OpenSuse 11, but
>> when I install in a Fedora box (I tried Fedora 7, 8 and 9) it just dont run
>> and raises the exception:
>>
>> An unhandled exception occurred at $08159DC9 : EIdCouldNotBindSocket : Could
>> not bind socket. Address and port are already in use. $08159DC9 $0817CC21
>> $0817D404 $0817C8F5 $0806610D $08065D43 $08064228 $08048F7B
>> "EIdSocketError : Socket Error # 98"
>>
>> Im using a custom port number and Im sure that it is not in use, does anyone
>> know if I should install custom packages in Fedora to have this working?
>>     
>
> Things that jump to mind:
> - If the port number is below 1024, you must run as root.
>   
The port Im using in 8090 or 8099 and Im already runnig as root for this 
tests.
> - It's also possible that the firewall settings are different on fedora by default
>   
No firewall started
> - Maybe selinux is installed and it doesn't allow anything by default ?
>   
I disabled that too.

I tested:

Hardware:
OpenSuse 11 - works fine
Fedora 7 - do not work

VM:
Fedora 8: do not work
Fedora 9: do not work

-- 
Cesar Romero
http://blogs.liws.com.br/cesar
http://blogs.liws.com.br/cesar/?feed=rss2




More information about the fpc-pascal mailing list