IP Address Binding

Submit all your BlueBox related questions or report a bug here!

Moderators: Lapo, Bax

PGME2
Posts: 1
Joined: 26 Mar 2009, 21:38

IP Address Binding

Postby PGME2 » 26 Mar 2009, 21:43

I would like to do either one of the two:

1) Turn off the BlueBox web server, but KEEP the function that allows connections behind firewall and proxies

OR

2) Simply have the web server only work on ONE ip address, not on every ip address bound to the machine. Even though I have the server itself set to just one IP, the web server operates on port 8080 on every address.
User avatar
Lapo
Site Admin
Posts: 21229
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 31 Mar 2009, 05:19

Hi,
you can do #2

Open the jetty.xml file located in {sfs-installation-dir}/Server/webserver/cfg
Look for the "addConnector" section, it usually looks like this:

Code: Select all

<Call name="addConnector">
      <Arg>
          <New class="org.mortbay.jetty.nio.SelectChannelConnector">
            <Set name="port"><SystemProperty name="jetty.port" default="8080"/></Set>
            <Set name="maxIdleTime">30000</Set>
            <Set name="Acceptors">2</Set>
            <Set name="confidentialPort">8443</Set>
          </New>
      </Arg>
    </Call>


after the port setting add the following line:

Code: Select all

<Set name="Host">your.public.ip.addy</Set>


Restart SFS
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “BlueBox”

Who is online

Users browsing this forum: No registered users and 1 guest