Accessing web admin by IP
TechnIckS
Join Date: 2007-01-14 Member: 59616Members
<div class="IPBDescription">Works fine with domain but not with IP</div>So i'm trying to set -webdomain to 'xxx.xxx.xxx.xxx' instead of domain name.
If i try to access it with <a href="http://xxx.xxx.xxx.xxx%3a%70ort/index.html" target="_blank">http://xxx.xxx.xxx.xxx:port/index.html</a> it does not work.
However, if i set the domain to my actual web domain, it works just fine.
Anyone got an idea how to get this to work?
If i try to access it with <a href="http://xxx.xxx.xxx.xxx%3a%70ort/index.html" target="_blank">http://xxx.xxx.xxx.xxx:port/index.html</a> it does not work.
However, if i set the domain to my actual web domain, it works just fine.
Anyone got an idea how to get this to work?
Comments
Make sure you use the quotation marks
What's wrong? Localhost works fine.
Only localhost works.
I also made it run on the same IP as the server so people can do "connect nationalgaming.org" in the console and it should get them right in the game. The actual admin interface is on the same site, but at a different port.
However, i am still interested to see if it will work by IP.
TSiOmiCron and Whosat let me know if you figure something out.
TSiOmiCron, when i used domain, the only time it didn't work was when i typed a .com instead of a .org. It worked right after that.
I'm starting the server with
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->Server.exe -name '-[]><[]- National Gaming . org' -webadmin -webport **** - webuser **** -webpassword **** -webdomain 'www.nationalgaming.org' -map ns2_summit -ip '66.90.101.252' -port 27015 -limit 24<!--c2--></div><!--ec2-->
Server.exe -name "NL|225|zaggynl's test server" -webadmin -webdomain 141.138.149.70 -webuser user -webpassword pass -webport port -map ns2_docking -ip 141.138.149.70 -port 27015 -limit 16 -modstorage "/home/username/ns2server/ns2/config/mods" -mods "m5fd7a38" "m4b430cc" "m49cc732
Yes, it works on my domain name as well even though my LAN ip address was specified.
then I can't access it for anything other then the computer itself....I wanna access it on the network or externally.
I supplied my LAN IP address but I can still access from external and on the network.
-name "|Shack| Infestation Pit" -webadmin -webdomain 68.232.161.103 -webuser XXX -webpassword XXX -map ns2_docking
I've tried the IP, hostname, my LAN IP, all with and without quotes for the -webdomain
Any ideas? It's hosted through gameservers.com.
Then I connected localhost:50\index.html and it worked.
I think there was a conflict because I was already using a real webserver on the computer and the NS2 Webserver appears to be a standalone server so the 2 were conflicting. At least that is my best guess.
I suspect you could -webdomain xxx.xxx.xxx.xxx -webport 50
or
-webdomain www.xxxxxx.com -webport 50 and connect externally.
I just wanted to post what worked for me so that others could experiment.
Unfortunately, that's not the issue that Steeltalon is having - his issue is the -webdomain command. It seems bugged for a few server operators, not being able to bind to either an IP (Ext/int) or a domain name.
still not working properly, like I said, I get a timeout on LAN/External connection, but works fine on localhost.
-Sorry for double posting-
Maybe some hosting restrictions?