On Thu, Feb 13, 2014 at 11:39 PM, varun <[email protected]>wrote:
> Hai jeff > The map server and apache running on same machine. > Then Apache httpd can't listen on port 8888, and it can't affect requests which are sent directly to the map server. > > > > On Thursday 13 February 2014 11:37 PM, Jeff Trawick wrote: > > On Thu, Feb 13, 2014 at 6:13 AM, Varun Bhuvanendran < > [email protected]> wrote: > >> 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 >> >> > is the map server running on the same machine on port 8888? you can't > have both Apache httpd and the map server listening on the same address and > port > > 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. >> >> >> > > > -- > Born in Roswell... married an alien... > http://emptyhammock.com/ > > > > -- Born in Roswell... married an alien... http://emptyhammock.com/
