Index: debian_installer/lams2-2.4.0/debian/lams2.init =================================================================== RCS file: /usr/local/cvsroot/debian_installer/lams2-2.4.0/debian/lams2.init,v diff -u -r1.1 -r1.2 --- debian_installer/lams2-2.4.0/debian/lams2.init 21 Aug 2012 15:13:51 -0000 1.1 +++ debian_installer/lams2-2.4.0/debian/lams2.init 27 Aug 2012 20:56:12 -0000 1.2 @@ -29,9 +29,10 @@ PIDFILE="/var/run/$NAME.pid" USER=lams GROUP=lams -JBOSS_OPTS= # Use this when using a non-default server configuration in jboss -#JBOSS_OPTS="-c " +#JBOSS_OPTS="-b 0.0.0 -c " +JBOSS_OPTS= -b 0.0.0.0 +# If you want to bind LAMS to an specific IP, change the 0.0.0.0 to the IP. test -x $JAVA || exit 0 @@ -67,7 +68,7 @@ DAEMON_OPTS="$JAVA_OPTS \ -Djava.endorsed.dirs=$JBOSS_ENDORSED_DIRS \ -classpath $JBOSS_CLASSPATH \ - org.jboss.Main -b 0.0.0.0 $JBOSS_OPTS" + org.jboss.Main $JBOSS_OPTS" start() { start-stop-daemon --start --quiet --background --make-pidfile \