Forum LAMS for Tech-Heads - General Forum: Re: Quick Q:.... Port numbers


 
Search: 

2: Re: Quick Q:.... Port numbers
In response to 1 04/23/07 05:58 PM
[ Reply | Forward ]
Barry,

80 vs 8080: Quite simple to change - see the wiki page Changing Server Ports for LAMS. You need to change the server url in the LAMS configuration table and then follow the simple method of changing the (LAMS JBoss Server Directory)\server\default\deploy\jbossweb-tomcat55.sar\server.xml file.

If you remember to change the server url first then you can do it by logging in to sysadmin and going to the edit configuration screen in the sysadmin menu. If you change the port in jboss first (and restart jboss) then you might not be able to log in properly and the you would have to change the server url in the database (the hard way)

Watch the performance of your server though - on one of our servers we have found it runs much better with Apache running on port 80, and moving the some of the graphics files to the Apache server. This allows JBOSS to concentrate on the "logical" and database tasks while Apache serves all the fiddly little graphics files.

Have a look at the section on Apache that Jun-Dir has added to Production Server Settings on the wiki.

Open Ports: Assuming Wildfire is running on the SAME server as LAMS then you should only need the LAMS port (8080 or 80) open on your firewall between your users and the LAMS server.

We purposely did it this way in LAMS 2.0 so that people don't have to get the LAMS port open + a chat port open in their firewall - this has been a problem on some sites at the past.

LAMS needs to be able to talk to port 9090, so you can't close down the port on the server itself. LAMS doesn't explicitly talk to the other Wildfire ports (5269, 5222, 5223) but I can't guarantee that Wildfire itself doesn't want to talk to them.

So maybe leave all the Wildfire ports enabled on the server for its own local traffic, but close them on the firewall. Does that make sense?

If Wildfire is running on a different server to LAMS, then there will need to be a hole in any firewall between LAMS and Wildfire for port 9090.

Clear as mud? Or that tawny port? Personally I'm more in need of a cuppa tea.

Fiona

Posted by Fiona Malikoff

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum