How to edit external ip

Results 1 to 3 of 3
  1. #1
    Apprentice aneco is offline
    MemberRank
    Apr 2011 Join Date
    TurkeyLocation
    7Posts

    config How to edit external ip

    Hello. I want to open my server on my external ip(playing with my friends). I tried using externalip="myip" on SupervisorServer.cfg but it didnt work.I tried changing from SupervisorConfig.cpp using

    Code:
      externalIpStr_ = r3dReadCFG_S(configFile, group, "externalIp", "myip");
      externalIpAddr_= 1;
    or

    Code:
      externalIpStr_ = r3dReadCFG_S(configFile, group, "externalIp", "myip");
      externalIpAddr_= 0;
    but none of them work.

    Here is my server config (for config i'm using this )

    Code:
    g_serverip=myexternalip
    g_api_ip=localhost
    g_api_folder=/api/
    g_api_port=80
    g_api_ssl=false


  2. #2
    Enthusiast tom643 is offline
    MemberRank
    Apr 2013 Join Date
    27Posts

    Re: How to edit external ip

    The G_serverip is not your external IP and needs to be localhost (or it may be the interface address) i think if you are behind a router, i have not been able to set up the server but assume you need to port forward any ports that the server uses and any SQL and webserver ports to the machine that it is running on. I am sorry but i can not be sure that what i have just said is correct as i have not been able to set up my own server. If you had it in a VM format i would be grateful for a copy and would be able to help further.

  3. #3
    Apprentice aneco is offline
    MemberRank
    Apr 2011 Join Date
    TurkeyLocation
    7Posts

    Re: How to edit external ip

    My ports are forwarded(using dmz) and i'm not using vm sorry :(



Advertisement