Jump to content
  • 0

web server and login error


disorder25

Question

Ok I have one question, I'am setting up a webserver and every time I click on the server page (index.html for example), I get and message on the Login server that say:

GameServer (127.0.0.1): Connection Lost: Connection Reset

 

And sometimes I get this one also:

GameServer (127.0.0.1): Connection Lost: Software Caused connection abort: recv failed

 

 

Can someone tell me why is that and how can I fix that?

Thank you>

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Ok I have one question, I'am setting up a webserver and every time I click on the server page (index.html for example), I get and message on the Login server that say:

GameServer (127.0.0.1): Connection Lost: Connection Reset

 

And sometimes I get this one also:

GameServer (127.0.0.1): Connection Lost: Software Caused connection abort: recv failed

 

 

Can someone tell me why is that and how can I fix that?

Thank you>

 

Hmmm So You Are Tring To Run L2Server And Website For The Server At Same PC. Right?

well something You Did Is Wrong... You Are Running Your WebSite With Apache?

Link to comment
Share on other sites

  • 0

Yes I'm running with apache and yes right now it is on the same pc but when it is all working good it will be on a different pc. I think the problem is with the one with the php scripts, probably  the server status one. But every time I click on one of the site's pages it give me the error on the login server and the only script that is on all the pages is the server status. But I need to double check on that and I still don't know why I get the connection lost message.

Any help will be appreciated.

 

THis is the script giving me the problem, every time php reads this I get the message.

 

<?php
$ip = "localhost"; // Here edit your IP for GameServer
$ipl = "localhost"; // Here edit your IP for Login
$portg = "7777"; // Port for GameServer
$portl = "9014"; // Port for Login

if (! $sock = @fsockopen($ipl, $portl, $num, $error, 5))
print '<B>Login: <FONT COLOR=red>Offline</b></FONT>';
else{
print '<B>Login: <FONT COLOR=lime>Online</b></FONT>';

if (! $sock = @fsockopen($ip, $portg, $num, $error, 5))
print '<B>     Bartz: <FONT COLOR=red>Offline</b></FONT>';
else{
print '<B>     Bartz: <FONT COLOR=lime>Online</b></FONT>';

fclose($sock);
}
}
?>

 

Link to comment
Share on other sites

  • 0

Well... I See Some errors on php but i am not sure... This Script is Yours Or You Edited It??? If You Edited it Please Check These Lines

if (! $sock = @fsockopen($ipl, $portl, $num, $error, 5))

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • need to change it from database. Find the item with ID, and check the square stackable. After that need to find the item from txt file (maybe etcitem.grp) and make this <set name="consume_type" val="stackable" />.
    • Hello, please tell me how I can do this so that when I buy 10 D weapons, they will be in one stack. that's how there are 100 pieces in one nipple I already tried putting 10 pieces in one weapon in the store, but when I clicked on the TAB. they are purchased separately, 1 piece each, etc. Giran  Shop Galladucci  <npc>30097</npc> <!-- Galladucci (Weapon Merchant) --> <item>         <!-- Adena -->         <ingredient count="6680500" id="57" />         <!-- Heavy War Axe -->         <production count="10" id="91" />     </item> When I press TAB-Inventar weapons <!-- Heavy War Ax --> one each, and I need them to be in place x10
    • Is there a way to make it work on L2j Sunrise?  Is it possible to use other items to increse clan level like only donation coin as an alternate to the existing one.  Like this Clan lvl 1: 100coin, lvl2 200, lvl3 300 .... lvl 10 10000coin.   My base idea was, the clan members can buy a clan support coin from donation coin and auto deposited to the caln wh, and the leader leader can use this coint to level up the clan. Should i just forget it, maybe its possible? Im not great in programing, so I looking for help and, I hope some one like this idea.
    • Imbadon Essence server with the new High Elves update, don't miss the opening on April 19.   Grand Opening: April 19 Website: https://imbadon.com Discord Community: https://discord.gg/imbadon General Information and Features Rates: EXP x1, Adena x1 Update: High Elves Gearscore System Guaranteed Enchant System Custom Farm Zones: Imperial Tomb and Fafurion Temple Reworked Class balance Custom Solo, Clan and Party Instances Balanced stages with dynamic experience   Many players and clans are waiting for you on imbadon.com
    • Are you yearning for a connection that's both stimulating and intimate? Look no further than our premium live sex chat platform, where you'll encounter a diverse array of captivating women eager to engage in meaningful conversations and explore your deepest desires. Join our community today and discover the excitement of forging genuine connections with stunning individuals from around the globe.
  • Topics

×
×
  • Create New...