How to edit external ip

Status
Not open for further replies.
Newbie Spellweaver
Joined
Apr 3, 2011
Messages
7
Reaction score
1
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
 
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.
 
Upvote 0
Status
Not open for further replies.
Back