rmon Posted November 8, 2017 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 97 Reputation: 2 Joined: 04/27/16 Last Seen: Tuesday at 08:05 AM Share Posted November 8, 2017 (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 For GoogleCloud : PHP Socket Connection : Requesting on your Expertise Please Edited November 12, 2017 by rmon Link to comment Share on other sites More sharing options...
0 Cyro Posted November 8, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted November 8, 2017 check your ports/ip in servers.php Link to comment Share on other sites More sharing options...
0 rmon Posted November 8, 2017 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 97 Reputation: 2 Joined: 04/27/16 Last Seen: Tuesday at 08:05 AM Author Share Posted November 8, 2017 11 minutes ago, Cyro said: check your ports/ip in servers.php Ports are charserver 6121 Mapserver 5121 loginserver 6900 ip is also correct Link to comment Share on other sites More sharing options...
0 Cyro Posted November 8, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted November 8, 2017 make sure your host allows php socket connections Link to comment Share on other sites More sharing options...
0 rmon Posted November 8, 2017 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 97 Reputation: 2 Joined: 04/27/16 Last Seen: Tuesday at 08:05 AM Author Share Posted November 8, 2017 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 ? Link to comment Share on other sites More sharing options...
0 BTNX Posted November 8, 2017 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 55 Reputation: 3 Joined: 04/02/12 Last Seen: October 22, 2022 Share Posted November 8, 2017 (edited) You need to email or submit a support ticket to your web host to allow out bound on those ports. Edited November 8, 2017 by BTNX Link to comment Share on other sites More sharing options...
0 rmon Posted November 9, 2017 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 97 Reputation: 2 Joined: 04/27/16 Last Seen: Tuesday at 08:05 AM Author Share Posted November 9, 2017 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. Link to comment Share on other sites More sharing options...
0 BTNX Posted November 9, 2017 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 55 Reputation: 3 Joined: 04/02/12 Last Seen: October 22, 2022 Share Posted November 9, 2017 Is your host godadddy? Link to comment Share on other sites More sharing options...
0 Foob Posted November 9, 2017 Group: Members Topic Count: 46 Topics Per Day: 0.02 Content Count: 267 Reputation: 40 Joined: 01/19/17 Last Seen: Yesterday at 03:47 AM Share Posted November 9, 2017 4 hours ago, BTNX said: Is your host godadddy? If its go daddy no, it wont be opened. Link to comment Share on other sites More sharing options...
0 rmon Posted November 9, 2017 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 97 Reputation: 2 Joined: 04/27/16 Last Seen: Tuesday at 08:05 AM Author Share Posted November 9, 2017 Any Suggestion ? how about https://www.crazydomains.ph/ ? Link to comment Share on other sites More sharing options...
0 BTNX Posted November 9, 2017 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 55 Reputation: 3 Joined: 04/02/12 Last Seen: October 22, 2022 Share Posted November 9, 2017 (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 November 9, 2017 by BTNX Link to comment Share on other sites More sharing options...
0 BTNX Posted November 9, 2017 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 55 Reputation: 3 Joined: 04/02/12 Last Seen: October 22, 2022 Share Posted November 9, 2017 5 hours ago, iAmGnome said: If its go daddy no, it wont be opened. That's why I asked Link to comment Share on other sites More sharing options...
0 Foob Posted November 9, 2017 Group: Members Topic Count: 46 Topics Per Day: 0.02 Content Count: 267 Reputation: 40 Joined: 01/19/17 Last Seen: Yesterday at 03:47 AM Share Posted November 9, 2017 3 minutes ago, BTNX said: That's why I asked Hehehe yeap Same as mine. Link to comment Share on other sites More sharing options...
0 rmon Posted November 9, 2017 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 97 Reputation: 2 Joined: 04/27/16 Last Seen: Tuesday at 08:05 AM Author Share Posted November 9, 2017 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 ? Link to comment Share on other sites More sharing options...
0 Cyro Posted November 9, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted November 9, 2017 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 Link to comment Share on other sites More sharing options...
0 BTNX Posted November 9, 2017 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 55 Reputation: 3 Joined: 04/02/12 Last Seen: October 22, 2022 Share Posted November 9, 2017 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. Link to comment Share on other sites More sharing options...
0 rmon Posted November 9, 2017 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 97 Reputation: 2 Joined: 04/27/16 Last Seen: Tuesday at 08:05 AM Author Share Posted November 9, 2017 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 ? Link to comment Share on other sites More sharing options...
0 Cyro Posted November 9, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted November 9, 2017 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? Link to comment Share on other sites More sharing options...
0 BTNX Posted November 9, 2017 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 55 Reputation: 3 Joined: 04/02/12 Last Seen: October 22, 2022 Share Posted November 9, 2017 (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 November 9, 2017 by BTNX Link to comment Share on other sites More sharing options...
0 rmon Posted November 12, 2017 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 97 Reputation: 2 Joined: 04/27/16 Last Seen: Tuesday at 08:05 AM Author Share Posted November 12, 2017 UP 1 Link to comment Share on other sites More sharing options...
Question
rmon
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
For GoogleCloud :
PHP Socket Connection :
Requesting on your Expertise Please
Edited by rmonLink to comment
Share on other sites
19 answers to this question
Recommended Posts