Jump to content
  • 0

adminpage_ip set to localhost by default


Adrian1428

Question

How I can set adminpage_ip to localhost by default ?

 

In config.cpp I have  :

std::vector<std::string> g_stAdminPageIP;

It is correct:

std::vector<std::string> g_stAdminPageIP = "localhost";

or

std::vector<std::string> g_stAdminPageIP = "127.0.0.1";

?

Link to comment
  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0

How I can set adminpage_ip to localhost by default ?

 

In config.cpp I have  :

std::vector<std::string> g_stAdminPageIP;

It is correct:

std::vector<std::string> g_stAdminPageIP = "localhost";

or

std::vector<std::string> g_stAdminPageIP = "127.0.0.1";

?

std::vector<std::string> g_stAdminPageIP = " ";

leave it empty.

 

If you want to use it on a vps, put vps ip.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.