I put them in /etc/rc.local, but if you already have something on port 80 then
this will not work.
Matthew Drover
Programmer Consultant
Immersive Technology
Distance Education, Learning and Teaching Support
Memorial University of Newfoundland
From: Hilton Gibson [mailto:[email protected]]
Sent: Wednesday, May 15, 2013 6:48 PM
To: Drover, Matt
Cc: Henry Atsu Agbodza; dspace-tech
Subject: Re: [Dspace-tech] Tomcat on port 80
Hi Matt
Where did you write these firewall rules to make them permanent?
Cheers
hg
On 15 May 2013 20:15, Drover, Matt <[email protected]> wrote:
Did you restart Tomcat after your config changes ? I found that using iptables
to redirect port 80 to port 8082 worked much easier.
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8082
iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-port 8443
Matthew Drover
Programmer Consultant
Immersive Technology
Distance Education, Learning and Teaching Support
Memorial University of Newfoundland
From: Henry Atsu Agbodza [mailto:[email protected]]
Sent: Wednesday, May 15, 2013 3:21 PM
To: [email protected]
Subject: [Dspace-tech] Tomcat on port 80
I had a problem with my tomcat installation and since i wanted to run Dspace
from port 80, i uninstalled it together with Java and tried the installation
notes on http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S05.
Everything was ok until i runned the command "sudo netstat -tapn | grep java"
to check if tomcat was using port 80 as was stated. But i didn't see the
desired result.
Below is what was shown on the terminal:
tcp 0 0 127.0.0.1:8005 0.0.0.0:* LISTEN
2631/java
Thanks in advance for the help.
--
Sincerely Yours,
Henry Atsu Agbodza
Library Systems,
University of Ghana Computing Systems (UGCS)
Room G3, Ground Floor - East Wing,
Balme Library
Legon
Tel.: +233 (0) 207 027360 <tel:%2B233%20%280%29%20207%20027360>
University of Ghana Digital Collection (UGSpace)
<http://ugspace.ug.edu.gh:8080/xmlui/>
University of Ghana Online Catalogue (UGCat) <http://library.ug.edu.gh/>
University of Ghana Research Portal <http://libguides.ug.edu.gh>
University of Ghana Off - Campus Access to E - Resources
<http://ezproxy.ug.edu.gh/>
This electronic communication is governed by the terms and conditions at
http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Hilton Gibson
Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa
Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://scholar.sun.ac.za
http://ar1.sun.ac.za
http://aj1.sun.ac.za
This electronic communication is governed by the terms and conditions at
http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette