We help IT Professionals succeed at work.
Get Started

How to connect from the web through a router to a Ubuntu 12.04 apache2 server

249 Views
Last Modified: 2015-09-14
Hi team,

I need to be able to connect to a Ubuntu 12.04 server in my home office when I am away from my office from time to time. I am having difficulty setting things up to achieve this end point.

This is what I can do:

I can login to Server (960) over the LAN and run my web application fine from several devices in the office.

I can login as 'root' into server as necessary.

I can ping the server (960) successfully from another device on the LAN.

Port forwarding on the router is set up:

Mapping External    External  Internal   Internal  
Name      Interface     Protocol   Start Port   End Port    Port     Host
RDP         TNZ_FIBRE   TCP         3389            3389          3389     192.168.1.76
VTIGER    TNZ_FIBRE   TCP         8888            8888          8888     192.168.1.76
VTon960  TNZ_FIBRE   TCP         8080           8080           80       192.168.1.64

I can login with RDP into a Windows desktop on 192.168.1.76 (Startpoint 3389, Endpoint 3389, Internal port 3389, LAN IP address of target desktop).

I can achieve HTTP access to a Windows webserver on 192.168.1.76 (Startpoint 8888, Endpoint 8888, Internal port 8888, LAN IP address of target Windows webserver).

canyouseeme.org shows 3389 and 8888 as open to be used.

On the Linux server (960) I ran wget http://localhost:80 and got the following confirmation that port 80 is listening:

http://localhost:80/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 177 [text/html]
Saving to: ‘index.html’
What settings do I need for the Startpoint, Endpoint and Port for VTon960?

What do I have to do on 960 to get it to listen/hear requests coming in?

My ISP has blocked port 80 obviously.

All assistance is much appreciated.

Bernard
Comment
Watch Question
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE