News for hackers. Stuff that matters.
Re:Ask HN: Any web startups using Java? by titomc on Tuesday November 23, 2010 @02:18PM (#1934995)
changing the port of an app/web server z no big deal..if u really wanna deploy something.
Re:Ask HN: Any web startups using Java? by rbrcurtis on Friday December 03, 2010 @01:03PM (#1966815)
Actually it isn't trivial for java webservers. Only root processes are allowed to use a port <=1024 by default, so you can't just change a config line in tomcat/jboss/jetty and have it work automatically. You would have to then start/run the app as root, which is a Bad Idea, or mess with getting the OS to allow you to use a lower port. The safest solution then is to have something in front that is allowed on port 80 and setup forwarding to 8080.