Re: Cant make apache listen on an IP address and port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You need the ServerName statement.

On Wed, Nov 11, 2009 at 11:48 PM, Siju George <sgeorge.ml@gmail.com> wrote:
HI I have the following ports.conf



NameVirtualHost *:80
Listen 80

<IfModule mod_ssl.c>
   # SSL name based virtual hosts are not yet supported, therefore no
   # NameVirtualHost statement here
   Listen 443
</IfModule>


Listen 213.49.146.24:8080

I have this in sites-enabled

<VirtualHost 213.49.146.24:8080>
       ServerAdmin webmaster@localhost
       Redirect / https://213.49.146.24/

</VirtualHost


I have this line in /etc/hosts


213.49.146.24   isystem

when I try to restart apache it gives me this error

# apache2ctl start
apache2: Could not reliably determine the server's fully qualified
domain name, using 127.0.1.1 for ServerName
(99)Cannot assign requested address: make_sock: could not bind to
address 213.49.146.24:8080
no listening sockets available, shutting down
Unable to open logs

What could be the trouble?

Thanks

--Siju

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux