Xampp not accessible from 'outside'

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Xampp not accessible from 'outside'

Postby Gyorgy » 06. May 2012 11:07


I am asking your help/hints, to override the below issue.

1. issue : the webserver can be accessed within LAN, and can not be accessed from 'outside' . ( I wish to make public this site...)

Typing into the browser the
or 'my.dynamicIP.provided.byISP:80'
or 'my.dynamicIP.provided.byISP:80/XAMPP'
or 'my.dynamicIP.provided.byISP/XAMPP'
the following answer is received :
"You have chosen to open
which is a: BIN file
from: http://my.dynamicIP.provided.byISP"

I saved this file. It's content :
E\00\00\00\FFjHost 'my.dynamicIP.provided.byISP' is not allowed to connect to this MySQL server

2. The environment is as follows :
internet -> (my.DynamicIP.provided.byISP) AP/Router(and DHCP server) (
- >(WiFi)-> computer1 ( ('server') - w/ Xampp 1.7.3 ; Ubuntu 12.04 desktop
- >(WiFi)-> computer2 ( - w/ Ubuntu 12.04 desktop

XAMPP runs well, and accessible within the LAN :
- on computer1 : browser -> localhost/xampp
- on computer2 : browser -> 192.168.3

the AP/Router is configured for port forwarding :
- internal 3306
- external 80

3. I have checked the IPs and port openess with the tools provided by DynDNS :
- checked my.dynamicIP.provided.byISP w/ http://checkip.dyn.com/
- checked if the port 80 is open : https://account.dyn.com/tools/openport.html.
Result :" xxx.yyy.zzz.www is open and accepting connections. This indicates the port is not being blocked by either a firewall or your ISP and is currently operational."

4. the http.conf file contains (w/o the commented lines):

ServerRoot "/opt/lampp"
Listen 80
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_dbd_module modules/mod_authn_dbd.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule cache_module modules/mod_cache.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule mem_cache_module modules/mod_mem_cache.so
LoadModule bucketeer_module modules/mod_bucketeer.so
LoadModule dumpio_module modules/mod_dumpio.so
LoadModule echo_module modules/mod_echo.so
LoadModule case_filter_module modules/mod_case_filter.so
LoadModule case_filter_in_module modules/mod_case_filter_in.so
LoadModule ext_filter_module modules/mod_ext_filter.so
LoadModule include_module modules/mod_include.so
LoadModule filter_module modules/mod_filter.so
LoadModule charset_lite_module modules/mod_charset_lite.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule ldap_module modules/mod_ldap.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.so
LoadModule env_module modules/mod_env.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule expires_module modules/mod_expires.so
LoadModule headers_module modules/mod_headers.so
LoadModule ident_module modules/mod_ident.so
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule unique_id_module modules/mod_unique_id.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule asis_module modules/mod_asis.so
LoadModule info_module modules/mod_info.so
LoadModule suexec_module modules/mod_suexec.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule cgid_module modules/mod_cgid.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule imagemap_module modules/mod_imagemap.so
LoadModule actions_module modules/mod_actions.so
LoadModule speling_module modules/mod_speling.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule apreq_module modules/mod_apreq2.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule php4_module modules/libphp4.so
LoadModule php5_module modules/libphp5.so
<IfModule !mpm_winnt_module>
<IfModule !mpm_netware_module>
User nobody
Group nogroup
ServerAdmin you@example.com
ServerName localhost
DocumentRoot "/opt/lampp/htdocs"
<Directory />
Options FollowSymLinks
AllowOverride None
<Directory "/opt/lampp/htdocs">
Options Indexes FollowSymLinks ExecCGI Includes
AllowOverride All
Order allow,deny
Allow from all
<IfModule dir_module>
DirectoryIndex index.html index.html.var index.php index.php3 index.php4
<FilesMatch "^\.ht">
Order allow,deny
Deny from all
ErrorLog logs/error_log
LogLevel warn
<IfModule log_config_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
<IfModule logio_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
CustomLog logs/access_log common
<IfModule alias_module>
ScriptAlias /cgi-bin/ "/opt/lampp/cgi-bin/"
<IfModule cgid_module>
<Directory "/opt/lampp/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
DefaultType text/plain
<IfModule mime_module>
TypesConfig etc/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddHandler cgi-script .cgi .pl
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
EnableMMAP off
EnableSendfile off
Include etc/extra/httpd-autoindex.conf
<IfModule ssl_module>
<IfDefine SSL>
Include etc/extra/httpd-ssl.conf
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
Include etc/extra/httpd-xampp.conf

Thanks in advance.
Posts: 4
Joined: 02. October 2010 11:25
Operating System: Ubuntu 12.04

Re: Xampp not accessible from 'outside'

Postby Gyorgy » 06. May 2012 13:21

Additional info :

LAN, computer2 :

- addressing -at or , starts the homepage of XAMPP installed on computer1

- addressing, or , we receive an error message : 'computer2' is not allowed to connect to this MySQL server

The contents of my.cnf ( w/o comment lines )

port = 3306
socket = /opt/lampp/var/mysql/mysql.sock

port = 3306
socket = /opt/lampp/var/mysql/mysql.sock
key_buffer = 16M
max_allowed_packet = 1M
table_cache = 64
sort_buffer_size = 512K
net_buffer_length = 8K
read_buffer_size = 256K
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 8M

plugin_dir = /opt/lampp/lib/mysql/plugin/

server-id = 1

innodb_data_home_dir = /opt/lampp/var/mysql/
innodb_data_file_path = ibdata1:10M:autoextend
innodb_log_group_home_dir = /opt/lampp/var/mysql/
innodb_buffer_pool_size = 16M
innodb_additional_mem_pool_size = 2M
innodb_log_file_size = 5M
innodb_log_buffer_size = 8M
innodb_flush_log_at_trx_commit = 1
innodb_lock_wait_timeout = 50

max_allowed_packet = 16M

# Remove the next comment character if you are not familiar with SQL

key_buffer = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M

key_buffer = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M

Posts: 4
Joined: 02. October 2010 11:25
Operating System: Ubuntu 12.04

Re: Xampp not accessible from 'outside'

Postby JonB » 07. May 2012 19:07

Gyorgi -

I am afraid we have more than one issue here. Let us try get get then sorted out.

Server Access
A. If you set up a static HTML page in a new folder, can you reach it from outside your LAN?

B1. Are you attempting to reach the MySQL server from outside your LAN, are you using a properly configured MySQL client

B2. Have you configured the MySQL user you are trying to connect with for access from either
B2a - a hostname or IP other than localhost?
B2b - the hostname wildcard ('%')
User avatar
AF Moderator
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 13 guests