[fpc-pascal] FPC + Indy

Michael Van Canneyt michael at freepascal.org
Fri Jul 18 19:24:22 CEST 2008



On Fri, 18 Jul 2008, Cesar Romero wrote:

> 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.
- It's also possible that the firewall settings are different on fedora by default
- Maybe selinux is installed and it doesn't allow anything by default ?

Michael.



More information about the fpc-pascal mailing list