Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 02-14-2014, 03:28 PM   #1
LQ Newbie
Registered: Feb 2014
Distribution: Debian
Posts: 19

Rep: Reputation: Disabled
cannot access my web server from outside

Hi all.

Ubuntu 12.04 Desktop
Dell Laptop Inspiron

I have reinstalled my system due to some mess I made and could not fix however, after reinstallation I could no longer access my web server from outside, I am using a VPN in order to obtain a static IP address.

At the moment I am buildign my web site and using this machine to test it out but I can not bring myself to understand why did it all stop working after reinstallation.

sudo netstat -napW | grep apache

tcp 0 0* LISTEN 1474/apache2

I can access the web server wit hthe static ip address from my own machine but not from others not even those in LAN.

Could anyone help me out here.

Please take into consideration that I am no expert, jsut learn as I go, been using linux for about a year and a half.

Thank you all for your time.
Old 02-16-2014, 12:11 PM   #2
Senior Member
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
Start with checking firewall:
# sudo iptables -L
or check it the "easy" way, disable firewall temporary:
# sudo service iptables stop
Then try to connect to webserver. If it works, then you know it's a firewall issue. You probably need help adding correct allow rule, just report back so we know it is the firewall.

If it doesn't help, post output of:

# sudo iptables -L
# ps aux |grep apache
Also describe the network - webserver (= "my own machine" ?) ip, LAN subnet, switches, routers, firewalls whatever you have.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Web server access denied fhleung Linux - Networking 4 08-04-2016 10:30 PM
Ubuntu Server's Web Server only can access Webmin jehmann Linux - Newbie 2 04-23-2012 06:27 PM
Web server access soumalya Linux - Networking 1 02-10-2011 11:06 PM
[IPTABLES] open ext access to web server on GW server kozaki Linux - Networking 3 08-27-2005 06:11 PM
Can't access Linux web server web pages from LAN client jaydave Linux - Networking 4 03-16-2003 03:38 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration