Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-24-2014, 02:23 PM   #1
LQ Newbie
Registered: Aug 2014
Posts: 2

Rep: Reputation: Disabled
Port forwarding with Apache2

Hey all,

I'm having some problems understanding how to make port forwarding work with Apache. I need to be able to forward from http://SERVER:8080/ to http://SERVER:8080/App/, and so far I haven't been successful with getting this to work.

I've added the following to my httpd.conf and I still receive a blank page when I navigate to http://SERVER:8080/:
# Use name-based virtual hosting.
Listen SERVERIP:80
NameVirtualHost SERVERIP:8080

<VirtualHost SERVERIP:8080>
#Application Port Forwarding
  ProxyPass        /            http://SERVERNAME:8080/App
  ProxyPassReverse /            http://SERVERNAME:8080/App

I'm quite lost at this point and it seems to me that this is a relatively simple task. I am looking into the documentation on Apache2 now, but for the time being I'm on a bit of a time crunch to get this resolved.
Old 11-24-2014, 09:24 PM   #2
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12 & Devuan
Posts: 9,514
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176

I can't tell if there is something not right with the Apache configuration or the router is the problem.

I'm not sure how to tell if port 80 is blocked-

From what I read some folks have been able to get it to work from their localhost but others are not able to get it working from their ip address.

Are you getting any errors?

The Apache Forum might help. That's were I'm looking aside from researching on Google:-

Configuration PDF for Apache

Sorry I don't know more; I'm having the same problem as you.

Last edited by Ztcoracat; 11-24-2014 at 09:27 PM. Reason: Link for Apache Configuration & Port Forwarding


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
[SOLVED] IPtables : ssh port forwarding one port to another port issue routers Linux - Networking 7 08-07-2018 08:41 AM
Shorewall: port forwarding problem, port is closed even after forwarding Synt4x_3rr0r Linux - Networking 2 12-13-2009 04:36 PM
port forwarding on Belkin 4-port Cable/DSL Gateway Router sycamorex Linux - Networking 5 03-05-2007 03:27 PM
IPCHAINS port forwarding and IPTABLES port forwarding ediestajr Linux - Networking 26 01-14-2007 07:35 PM
Simple Port Forwarding Firewall - not forwarding MadTurki Linux - Security 14 04-09-2006 12:08 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:56 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
Open Source Consulting | Domain Registration