Socket error in linux but not in Windows lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- ironphil · 2023-09-24 13:14 Hi, I am making a simple webserver with weblaz and it works ok in Windows but in linux the program stops right away. If I execute it from the command line I get the following message: QuoteException at 0000000000499478: ESocketError: Binding of socket failed: 8080.I am not used to socket programming and errors. What does that mean and how can I fix it? ---------------------------------------------------------------------- paweld · 2023-09-24 13:21 It looks like some other service is already listening on port 8080. Change the port in your application or stop the service that is already listening on this port. ---------------------------------------------------------------------- ironphil · 2023-09-24 13:56 Thanks, there was indeed a problem with the port. Then I could get one step further and there was also a problem with the threads. Apparently in linux I need to use cthreads. It works now, thanks.