This error appears when i tried to restart apache
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:8888 no listening sockets available, shutting down
I had a map server running at port 8888. I tried to do a Redirect so that a direct access of the map server from remote is redirected. The sites-available/domain_name file is
<VirtualHost *:80> ServerName domain_name ... </VirtualHost> Listen *:8888 http <VirtualHost *:8888> ServerName domain_name Redirect permanent / http://domain_name/ ... </VirtualHost>
Is there a way to avoid this error and restart the apache server.