Closed RanniSch closed 10 months ago
config: server { listen 8000 8080 8000; ... }
./webserv conf/webserve.conf TestServer constructor called! Start Listening... Error: Binding failed make: *** [e] Error 1
I also ran @MaxIhme example with valgrind and I get again the same amount of reachable memory (no control + c needed)
without valgrind same result: ./webserv default.conf Information: cannot open your config file. Will take default Config. TestServer constructor called! Start Listening... Start Listening... Start Listening... Error: Binding failed
I would say, that's fine
Testresult after opening 3 times port 8000 in the default.config file:
./webserv default.conf
Information: cannot open your config file. Will take default Config. TestServer constructor called! Start Listening... Start Listening... bind failed... : Address already in use