Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache not accessible from the outside world, working internally [closed]

Tags:

http

apache

ip

I have installed apache xampp and all working internally. I then redirected port 8080 and the ip address on the router to the internal ip address of the server. I can see the nat take place and on the server I can see the httpd.exe coming through but cannot connect from outside world.

Listen 192.168.0.47:8080
ServerAdmin [email protected]
ServerName 192.168.0.47:8080
DocumentRoot "/xampp/htdocs"
<Directory />
AllowOverride none
Require all granted
</Directory>
<Directory "/xampp/htdocs">

    Options Indexes FollowSymLinks Includes ExecCGI


    AllowOverride All


    Require all granted

</Directory>
<Files ".ht*">
    Require all denied
</Files>
container, that host's errors will be logged there and not here.
ErrorLog "logs/error.log"
CustomLog "logs/access.log" combined
</IfModule>
<IfModule alias_module>
ScriptAlias /cgi-bin/ "/xampp/cgi-bin/"
</IfModule>
<IfModule cgid_module>

</IfModule>
<Directory "/xampp/cgi-bin">
    AllowOverride None
    Options None
    Require all granted
</Directory>
like image 985
user2436136 Avatar asked Dec 05 '25 14:12

user2436136


1 Answers

Listen 192.168.0.47:8080  

Should be

Listen 0.0.0.0:8080

Your only listening to requests that come though a local IP

like image 95
exussum Avatar answered Dec 08 '25 06:12

exussum



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!