Сайт работает на localhost: 33333, но если я запускаю my.domain.com:33333
или my.domain.com
не работает. (Connection timeout
)
В чем может быть причина?
<VirtualHost *:33333>
ServerName my.domain.com
DocumentRoot /var/www/vtigercrm/
ErrorLog /var/log/apache2/vtiger.my.domain.com.error_log
CustomLog /var/log/apache2/vtiger.my.domain.com.access_log combined
<Directory /var/www/vtigercrm>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
</VirtualHost>
[ 116] вывод:
/etc/apache2/ports.conf:Listen 33333
/etc/apache2/ports.conf: Listen 443
/etc/apache2/ports.conf: Listen 443
/etc/apache2/apache2.conf:# supposed to determine listening ports for incoming connections, and which
/etc/apache2/apache2.conf:# Include list of ports to listen on and which to use for name based vhosts
/var/log/apache2/error.log
[Mon May 06 19:27:17 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.6-1ubuntu1.2 configured -- resuming normal operations
[Mon May 06 19:41:52 2013] [notice] caught SIGTERM, shutting down
[Mon May 06 19:41:53 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.6-1ubuntu1.2 configured -- resuming normal operations
iptables -L -nv
: http://wklej.org/hash/8f77aa0dbc6 /
Ваш брандмауэр не позволяет порт 33333. Запустите:
sudo ufw allow 33333/tcp
, чтобы открыть его.