Bluebox with Apache

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

User avatar
frcol
Posts: 99
Joined: 22 Aug 2010, 09:26
Location: Brazil
Contact:

Bluebox with Apache

Postby frcol » 14 Aug 2015, 18:49

Our educational platform works well in many schools.
Some we need to open the firewall port 443 (we changed the 9339), but works after that.

But, some is not working. I read about Bluebox.
We use Apache as our http server.
As I read, to use blubox, we need to use Jetty. So we must migrate all the contents inside Apache to Jetty and turn off apache?

is there a less painful way to try it?

we have 2 IPs in our VPS server, if it helps.
Fabio Colombini
Brazil
User avatar
frcol
Posts: 99
Joined: 22 Aug 2010, 09:26
Location: Brazil
Contact:

Re: Bluebox with Apache

Postby frcol » 14 Aug 2015, 20:54

I edited config.xml to run Jetty. Now it´s running.
I edited jetty.xml to run on port 8081

In the admin>bluebox tab, shows that http is running.

So, if my flash app try to connect via socket and fail, it automatically will try to connnect via bluebox?

It´s not still working.
Last edited by frcol on 14 Aug 2015, 21:09, edited 1 time in total.
Fabio Colombini
Brazil
User avatar
frcol
Posts: 99
Joined: 22 Aug 2010, 09:26
Location: Brazil
Contact:

Re: Bluebox with Apache

Postby frcol » 14 Aug 2015, 21:07

http://www.kiduca.com.br:8081/BlueBox/H ... ugCmd=main

HTTP ERROR 404

Problem accessing /BlueBox/HttpBox.go. Reason:

NOT_FOUND
Fabio Colombini
Brazil
User avatar
frcol
Posts: 99
Joined: 22 Aug 2010, 09:26
Location: Brazil
Contact:

Re: Bluebox with Apache

Postby frcol » 15 Aug 2015, 06:52

I got it :)

I must edit sfsClient.xml:

<httpPort>8081</httpPort>
<smartConnect>true</smartConnect>

Now it´s working, but I noticed a delay comparing with Socket connection.
Fabio Colombini
Brazil
User avatar
Lapo
Site Admin
Posts: 23009
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Bluebox with Apache

Postby Lapo » 15 Aug 2015, 07:03

Ok :)
A slower response time is expected due to HTTP being significantly slower than direct socket communication.

cheers
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 32 guests