Jump to content
  • 0

FluxCP Server Status - Offline


Question

Posted (edited)

Hi,

I'm currently hosting on google cloud and my server is already running properly,

My issue is on FLUXCP 

Login Map Char are showing as offline , but in ratemyserver already showing as online.

For Reference :

rAthena and FluxCP are connected in one VPS using CentOS7

 For the Firewall configuration inside CentOS7

# firewall-cmd --zone=trusted --add-port=6900/tcp --permanent
# firewall-cmd --zone=trusted --add-port=6121/tcp --permanent
# firewall-cmd --zone=trusted --add-port=5121/tcp --permanent
# firewall-cmd --zone=trusted --add-port=6900/udp --permanent
# firewall-cmd --zone=trusted --add-port=6121/udp --permanent
# firewall-cmd --zone=trusted --add-port=5121/udp --permanent

# firewall-cmd --reload
# systemctl restart network.service
# systemctl restart firewalld.service

image.png.09449902bddf028c3e8dab15d90bfe3b.png

 

For GoogleCloud :

image.png.b86d0abbc2cbecb06b4d3a6aea47d7f1.png

PHP Socket Connection : 

image.png.faec14f268a600a0bcd1f8ab0aa971e7.png

 

image.png.a5e9df72ac18a273d8d800d8cbe6bacf.png

 

Requesting on your Expertise Please :)

Edited by rmon

19 answers to this question

Recommended Posts

  • 0
Posted
11 minutes ago, Cyro said:

check your ports/ip in servers.php 

Ports are

charserver 6121

Mapserver 5121

loginserver 6900

ip is also correct 

  • 0
Posted
3 minutes ago, Cyro said:

make sure your host allows php socket connections

My WebHost ? or rAthena Host ? 

Can you enlighten me on how will i allow it ? 

  • 0
Posted (edited)

You need to email or submit a support ticket to your web host to allow out bound on those ports.

Edited by BTNX
  • 0
Posted
3 hours ago, BTNX said:

You need to email or submit a support ticket to your web host to allow out bound on those ports.

Sad to say but this is their reply 

Kindly note we do not open customize ports in our shared hosting servers because this settings is server wide.

  • 0
Posted (edited)

You can hosting your flux in the same VPS then try to use cloudflare.  That means you have to install LAMP + mail service

Edited by BTNX
  • 0
Posted
1 hour ago, BTNX said:

You can hosting your flux in the same VPS then try to use cloudflare.  That means you have to install LAMP + mail service

Is 2gb enough for server hosting and webhosting in one linux vps for atleast 100 player for the moment ?

 

  • 0
Posted

2gb what? Ram or disckspace ?

I suggest to buy 1 euro host (like aruba.it) and Install lamp and host your website there , thats good for starting 

  • 0
Posted

Web server by itself does not consume much RAM.  A single-core at 2.2 ghz running PHP 5.4 can serve 800 request per second.

IDK much about the game server though.

  • 0
Posted
23 minutes ago, Cyro said:

2gb what? Ram or disckspace ?

I suggest to buy 1 euro host (like aruba.it) and Install lamp and host your website there , thats good for starting 

Currently hosting mine at google cloud 

with 1vcpu and 1.7gb ram 

is it sufficient enough to handle web and server host in one instance ? 

  • 0
Posted
12 minutes ago, rmon said:

Currently hosting mine at google cloud 

with 1vcpu and 1.7gb ram 

is it sufficient enough to handle web and server host in one instance ? 

that should be enough to host both, but i wouldn't suggest to host both of them in same vps for various reasons , imo hosting patcher/forums/flux does effect, your bandwidth can handle all of them?

  • 0
Posted (edited)
1 hour ago, rmon said:

Currently hosting mine at google cloud 

with 1vcpu and 1.7gb ram 

is it sufficient enough to handle web and server host in one instance ? 

With the exeption of patcher... it would be ok at best... Your database will struggle with just 1 cpu.  Running both in a single server is never the best option... only do that if you have no other choice.

 

Cloudflare can mask your IP also absorb the load during ddos.  They also work as a CDN which should make it easy on badwidth.  Patcher cannot be pulled from cache though so CDN wont help there but since you already have a webserver that doesnt allow ports to be opened... you can use it for patch server... you can even store your images css js etc in that web server.

 

Another option is to keep your current setup(webserver and vps) but you have to create a REST API in your VPS that can be requested by your flux.  If your server is also listed in RMS... RMS already checks your server status and list it on ther site.  You can curl that status via php or do an ajax request using js and parse it accordingly.  This last bit is obviously more complicated but it is there as an option.

Edited by BTNX
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...