PlaneShift
Development => Development Deliberation => Topic started by: Debci on June 23, 2009, 05:19:04 pm
-
Look my host file:
192.168.2.100 ethereumbastion.servegame.com
127.0.0.1 localhost
127.0.0.1 ethereumbastion.servegame.com
ethereumbastion.servegame.com 127.0.0.1
IN the game in data/servers.xml i created this line:
<server name="Reino Latino 1" ip="ethereumbastion.servegame.com" port="13331" />
In the psserver configuraion file i configured with ethereumbastion.servegame.com, but at the momento to play in the game, the server appear failed.
What is this?
What is the problem?
Im tired of searching solutions... :'(
Regards
-
You don't need to modify the hosts file at all. Simplychange the ip="ethereumbastion.servegame.com" to ip="127.0.0.1" and you should be fine.
HTH
-
but i want to up the server public :s
regards
-
doesn't change the thing. you need to find a dns redirection/hosting provider and get a domain. if you have those dns already just redirect them to your pc and set routers accordly if any. that's all for local host use 127.0.0.1 as said from remove use your domain.
-
y now using no-ip. and i registered, but i doesnt work why?
why you say "Dont change the things"?
regards
-
Hello
We should try to get some order into this issue. What I understand is that you have
- a working server
- you can connect from the computer the server runs on (127.0.0.1)
- you want others from the internet connecting to your server
- you registered a name at some dynDNS provider
First, if you can connect from 127.0.0.1 it is not really an issue with planeshift; its a network connectivity problem as it looks.
I'd suggest to check the following things:
- the computer where the server runs on has no firewall enabled (what os is it?)
- the router (assuming you use one) forwards packet that arrive on the internet on port 13331 to the computer where the server runs on (192.168.2.100)
- you have to make sure that the name you registered at some dynDNS provider really resolves to your internet address (your router should tell you what your current internet address is)
Furthermore, your hosts file is a bit broken the way it looks now; it would be enough to have 127.0.0.1 localhost in it; maybe also 192.168.2.100 ethereumbastion.servegame.com, but this one is questionable.
-----
Also, with having <server name="Reino Latino 1" ip="ethereumbastion.servegame.com" port="13331" /> in your servers.xml, you should do (maybe before and after the change of your hosts file) a "nslookup ethereumbastion.servegame.com" in a command window to see what ip address it points at.
Best give us as much information as you can (e.g. confirm each point of the suggested list you can check aswell as the output of the nslookup command). Pretty sure does either your dynDNS not resolve correctly or your router doesn't send the packets to your server.
Sen
-
well, my ip external is alltimes the same, its and statical ip ¿ok?, the firewall, mmm i dont know if it are activated or no, the firewall was in the router? , the port 13331 is opened in tcp/udp mode.
The command say this:
debci@debci-desktop:~/development/ethereum$ nslookup ethereumbastion.servegame.com
Server: 192.168.2.100
Address: 192.168.2.100#53
Non-authoritative answer:
Name: ethereumbastion.servegame.com
Address: 92.56.247.196
Edit: I goed to my router confgiuration and i marqued firewall as disabled.
regards
-
Certainly the server resolves, I can stick in the domain name into my browser and see the directory listing for your webroot, looks like some ps server tools subdirectories. Can you connect to the server using http? Do you have to use the local net ip (192.168.2.100) or even the localhost ip(127.0.0.1)?
For me to access my server from my workstation I have to use local net ip. If I just use the domain name it does not work, I suppose because the dns address(76.10.x.x) is different from the lan address(192.168.x.x) so the latter works but not the former. The outside world has to use the former to get through my firewall/router.
PS you might want to disallow the directory listing in your apache config.
-
Hi
Is your router forwarding the packets to your server? (Maybe you can tell your router model so we can have a look how it would work?)
Sen
-
i can connect to my server using 127.0.0.1 and 192.168.2.100 , my router is an smc.
regards
-
Hi
Well, I hope ist looks the same in your router... have a look here at page 29/30 (Topic Forwarding) http://www.smc.com/files/AY/MN_SMCBR24Q_EN.pdf .
You will most probably have to click on "Service management" and add there Protocol UDP Port 13331 to 13331.
After that make sure that this gets forwarded to the computer the server runs on (192.168.2.100).
This should make the packets that arrive from the internet get forwarded to your server-computer.
Sen
-
It is possible that if you are using a standard distribution that the server box/ workstation is running iptables and preventing the connection. If Selinux is installed that is another thing that could be causing problems.
It sounds to me like your server is running on the same machine you are trying to connect from.