Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am running Ubuntu server 12.04 with Apache2.

My port 80 is not reachable and closed. Any idea how can I open it so I can access to my web admin?

I noticed that port 80 is reachable under LAN, but its not able to reach outside of LAN even I had done port forwarding.

What should I do?

Thanks.

share|improve this question
    
How do you know your port is closed? Any result? Please include output of sudo iptables -L –  Achu Feb 21 at 5:19
    
I downloaded a software from portforward.com to check is my port is reachable or not. Then I got the result its close. Below is my result of iptables -L root@server:~# iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination –  user1343112 Feb 21 at 5:23

1 Answer 1

To access webmin you have to use the port 10000 with https like this: https://localhost:10000/

Moreover if you want to change Apache port

Open /etc/apache2/ports.conf file, enter:

$ gksu gedit /etc/apache2/ports.conf

To make the server accept connections on both port 8010, enter:

Listen 8010

To make the server accept connections on both port 80 and port 8010, use:

Listen 80
Listen 8010

Now restart apache

sudo service apache2 restart

and try.


share|improve this answer
    
I had done this process. But still fail. –  user1343112 Feb 21 at 5:26
    
localhost:10000 have you try this –  Ask Feb 21 at 5:26
    
u mean add localhost:10000 into my /etc/apache2/ports.conf? –  user1343112 Feb 21 at 5:28
    
no run in browser –  Ask Feb 21 at 5:28
    
be sure to run https not http –  Ask Feb 21 at 5:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.