Running server through static ip

Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    (⌐■_■) NourAyman is offline
    MemberRank
    Feb 2012 Join Date
    Behind you :PLocation
    683Posts

    Running server through static ip

    Hello,
    first of all you have to follow the same tut in
    Aznkidd235's thead
    and thank's to him for posting such a good guide

    Actually you have to follow the guide until step (5) cuz you have to change your ip in config
    to your new static ip

    tips:
    1.MAKE SURE THAT YOU HAVE STATIC IP !

    2. open cmd and write hdwwiz

    3.next then "Install the hardware that i manually blabla ..

    4. choose "network adapters"

    5. Choose Loopback adapter in microsoft

    Spoiler:

    6. open cmd and write "ipconfig" to see your local ip in your main adapter
    Spoiler:


    7.in network panel head to your adapters and open your recently added one

    8.follow these instructions
    Spoiler:

    9. open your router page then forward ports with your localip ( the 192.168.1.101 as it's showin in step8)
    The ports are "27017" , "8889" ,"8888"

    10. you can now put your static ip in these texts
    Code:
    loginserver/configs/network.properties & gameserver/configs/network.properties
    gameserver/configs/server.properties
    service.ini in client
    Last edited by NourAyman; 06-01-18 at 09:15 PM. Reason: editing the content


  2. #2
    Proficient Member sabracx is offline
    MemberRank
    Aug 2014 Join Date
    Santo Domingo,Location
    161Posts

    Re: Running server through static ip

    very good guide and if I worked it was necessary to edit the xmlrpc of gameserver and login thank you very much.

  3. #3
    Apprentice hotatchanh is offline
    MemberRank
    Jan 2018 Join Date
    7Posts

    Re: Running server through static ip

    thanks but its not work

  4. #4
    (⌐■_■) NourAyman is offline
    MemberRank
    Feb 2012 Join Date
    Behind you :PLocation
    683Posts

    Re: Running server through static ip

    Quote Originally Posted by hotatchanh View Post
    thanks but its not work
    actually it does.
    did you miss something ?

  5. #5
    Apprentice hotatchanh is offline
    MemberRank
    Jan 2018 Join Date
    7Posts

    Re: Running server through static ip

    Quote Originally Posted by NourAyman View Post
    actually it does.
    did you miss something ?
    Do you have skype or facebook ? my server running in a VPS, client is my PC. i tried as your guide but not work :(

  6. #6
    (⌐■_■) NourAyman is offline
    MemberRank
    Feb 2012 Join Date
    Behind you :PLocation
    683Posts

    Re: Running server through static ip

    This guide is for local pc that is trying to run a server behind a static ip
    so if it's running on a host/vps then there is no need to follow this guide
    just replace your ip directly in these files
    without creating custom adapters
    Code:
    loginserver/configs/network.properties 
    gameserver/configs/network.properties
    gameserver/configs/server.properties
    service.ini in client
    feel free to pm me on discord 0xCC#5860

  7. #7
    Apprentice hotatchanh is offline
    MemberRank
    Jan 2018 Join Date
    7Posts

    Re: Running server through static ip

    Quote Originally Posted by NourAyman View Post
    This guide is for local pc that is trying to run a server behind a static ip
    so if it's running on a host/vps then there is no need to follow this guide
    just replace your ip directly in these files
    without creating custom adapters
    Code:
    loginserver/configs/network.properties 
    gameserver/configs/network.properties
    gameserver/configs/server.properties
    service.ini in client
    feel free to pm me on discord 0xCC#5860
    i already test that case too, but still not work :(

  8. #8
    (⌐■_■) NourAyman is offline
    MemberRank
    Feb 2012 Join Date
    Behind you :PLocation
    683Posts

    Re: Running server through static ip

    is there any error shown in loginserver or gameserver window ?

  9. #9
    Apprentice hotatchanh is offline
    MemberRank
    Jan 2018 Join Date
    7Posts

    Re: Running server through static ip

    Quote Originally Posted by NourAyman View Post
    is there any error shown in loginserver or gameserver window ?
    all normaly, when i use client in my PC press [Start] ingame then it show " failed to connect" , i already forward port 8888, 8889 UDP and TCP and setting the firewall correctly

  10. #10
    Enthusiast emeyarkey029 is offline
    MemberRank
    Aug 2016 Join Date
    37Posts

    Re: Running server through static ip

    I have the same problem , it's "failed to connect" . Already port forwarded 8888 and 8889 but still the same .

  11. #11
    Valued Member logankioma is offline
    MemberRank
    Aug 2012 Join Date
    142Posts

    Re: Running server through static ip

    I am using hamachi, but if I put the hamachi ip in service.ini it gives an error [The file is corrupted.
    If it persists, please run file-recovery from the launcher]
    The server did not give a problem is the part of the client itself. It does not accept hamachi ip at all.

  12. #12
    Enthusiast KatoOhashi is offline
    MemberRank
    Aug 2018 Join Date
    34Posts

    Re: Running server through static ip

    your images are missing from the spoilers

    - - - Updated - - -

    Quote Originally Posted by NourAyman View Post
    is there any error shown in loginserver or gameserver window ?
    i basicly had this long af java error that stated it couldnt bind the address

  13. #13
    Apprentice kawisin is offline
    MemberRank
    Mar 2019 Join Date
    11Posts

    Re: Running server through static ip

    i don't see spoiler

  14. #14
    Novice holybug is offline
    MemberRank
    Jul 2019 Join Date
    4Posts

    Re: Running server through static ip

    the picture link are dead. no idea what this article said.

  15. #15
    Novice Nullucent is offline
    MemberRank
    Jul 2019 Join Date
    3Posts

    Re: Running server through static ip

    Quote Originally Posted by holybug View Post
    the picture link are dead. no idea what this article said.
    Got all the images back through waybackmachine, they are listed in same order as the guide.
    https://imgur.com/a/XdJr4Gw

    Update:

    So after some experimenting i finally came up with a solution that allows both myself and people from outside my network connect to the server using the loopback adapter. The ip configuration suggested by OP didn't work for me but instead setting 0.0.0.0 to loginserver/network.properties and gameserver/network.properties The only one where i apply my static external IP is gameserver/server.properties. Good luck setting up yours :-)
    Last edited by Nullucent; 27-07-19 at 07:12 PM.



Page 1 of 2 12 LastLast

Advertisement