Mirage Source
Grr - Connection Help (Smart People) - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: Resources (https://mirage-engine.uk/forums/forumdisplay.php?fid=49)
+---- Thread: Grr - Connection Help (Smart People) (/showthread.php?tid=161)

Pages: 1 2 3


Grr - Connection Help (Smart People) - Leighland - 03-07-2006

Well, I have one of those DSL modems that changes the IP address every day. I want to add Server Online/Offline support to my forum but I can't figure out how to get it to work. If i use my Default Gateway it says offline, and If I use the Public IP address, it also says offline.

Any ideas? I'm not using a router or anything.


- Krloz - 03-07-2006

You could use a no-ip thing also theres some modems with router inside >.>


Re: Grr - Connection Help (Smart People) - Leighland - 03-07-2006

Leighland Wrote:Well, I have one of those DSL modems that changes the IP address every day. I want to add Server Online/Offline support to my forum but I can't figure out how to get it to work. If i use my Default Gateway it says offline, and If I use the Public IP address, it also says offline.

Any ideas? I'm not using a router or anything.

Thanks for trying though :p


- Krloz - 03-07-2006

No... I mean u could register at http://www.no-ip.org u install the software register an account and set a name for your ip and each time it changes the ip gets updated to redirect with XXX.no-ip.org


- Leighland - 03-07-2006

Ah okay, didn't know they had a client for that lol. I'll try this.


- Dragoons Master - 03-07-2006

That's not how it works. No-Ip is like a fast-link, so YOU update this ip and everybody will always connect to the right IP, they dont need anything, only a client w/ IP = TheOneYouRegisterd.


- Leighland - 03-07-2006

Well, it still isn't working. Check this:

http://www.splamm.com/online.php?ip=ady ... &port=7000

That's my server which is currently running..


- Misunderstood - 03-07-2006

um... did you point the client to the no-ip address Tongue.


- Dragoons Master - 03-07-2006

And are you on a shared LAN, I mean shared network? b couse if you are, you need to port forward.


- Leighland - 03-07-2006

No, i have the default gateway set as the ip address on the client. I'm trying to connect to my server via that php script and it won't do it.

If I change the GAME_IP constant in the client to "adylon.no-ip.info" and change the remotehost on the server to "adylon.no-ip.info" the client doesn't connect. So, I use dthe default agteway instead. But If I use that the url, it says the server is offline.

I never had problems when I had cable internet :evil: :evil: :evil: :evil: *kicks DSL*


- Dragoons Master - 03-07-2006

YOU can't connect, but everybody elses can. That's normal, you can't connect to your game using the same ip as the server to connect. If you want to connect change the ip to 127.0.0.1 and it will work. But the compiled client should have the network ip.


- Leighland - 03-07-2006

Lol, I CAN connect. The script can't :roll:

Start > Run > Command

Ipconfig

IP Address

Everything works perfect when it's done that way. But, the script that I linked to... this one:

http://www.splamm.com/online.php?ip=&port=7000

It doesn't seem to think my server is running, and it is... it's in my running processes, I can connect to it with my client, that means it's obviously running, right?

The only thing I noticed is that lately when I go to ipchicken or whatismyip, the IP shown is different than the one Ipconfig shows. My ISP has features that change the address every day, or so it seems.

So far nothing said has helped. If I redirect my IP to a no-ip address, the client can't connect to the server.

That's the best I can explain it...


- Dragoons Master - 04-07-2006

If your IP on ipconfig and whatismyip are different, this means that probly you are on a network, the router of internet, or the internet it selfs is not connected direticly to your computer, so you'll need to port forward. And if YOU CAN connect, this does not means that the server is online on the internet, maybe its only on your LAN.


- Matt - 04-07-2006

Dragoons is right, compare your ipconfig ip to your wan ip, found on http://whatismyip.com , your lan IP, if you are on a network, which is what will show on ipconfig, will be something along the lines of 192.168.0.XXX or the 0 will be a 1 or 2. If that is the case, then other people need the one from whatismyip.com to connect.


- Leighland - 04-07-2006

Advocate Wrote:Dragoons is right, compare your ipconfig ip to your wan ip, found on http://whatismyip.com , your lan IP, if you are on a network, which is what will show on ipconfig, will be something along the lines of 192.168.0.XXX or the 0 will be a 1 or 2. If that is the case, then other people need the one from whatismyip.com to connect.

This is exactly what shows. I won't give my IP address but it does follow that format. So to allow people to connect to my server I need to put the whatismyip.com address into the client?

And that still doesn't explain why the script isn't working to check if my serve ris offline or not. If I use the netwrok IP it says offline, if I use the whatismyip.com IP, it also says offline. That's what I want to work at the current time, the client/server stuff can be figured out later.


- Tosuxo - 04-07-2006

when i run my server i have 192.128.2.2 in the IP and players can connect fine

try using a random high number port like mine uses (23456), it seemed to work alot faster for people too...


- Misunderstood - 04-07-2006

your network ip...do you mean the ip of your network, or the ip that your computer is assigned internally between your network?


- Leighland - 04-07-2006

the 192.168.#.### IP


- Misunderstood - 04-07-2006

Have you portforwarded...? and always use the whatismyip.com address


- Leighland - 04-07-2006

I tried one of the protforwarding tuts at Elysium forums, but that got me nowehere. And gogle can't find anything to do with port Forwarding on a Bell SpeedStream 5242-Series...


- Misunderstood - 04-07-2006

you basically login to your router and look for anything that might be related to port forwarding.

Try logging into your router first, if you dont know how, ask your parents.


- Dragoons Master - 04-07-2006

Nonono, you'r not making it right...
The IP PLAYERs should connect it the No-Ip one(mine is blackages.servegame.com). Everytime you restart your modem(when you'r IP adress changes) you need to run the No-Ip little program. This way players will be able to connect to server w/ out having to redownload a client.
The script is probly on the web, so using your LAN ip wont work at all, and the No-Ip wont work for YOU, but it should work for any other player. ask anyone out your LAN. And make sure PLAYERs can connect using the number IP(80.###.###.###, 200.###.###.###, etc), yes, the one YOU see on whatismyip.com
If players can connect thru that IP, your server is on web, and all this I told you should work.


- Tosuxo - 04-07-2006

to login to my router the i.p. is 192.168.2.1, but the portforward.com website will tell you how with your specific router Smile


- Leighland - 05-07-2006

I ... Don't....Have....A....Router


If I do, it's built in to the modem.

I have no way to configure or access the router ... 192.168.2.1 is the way I access my modem configuration and there isn't anything there related to port forwarding


- Tosuxo - 05-07-2006

Leighland Wrote:I ... Don't....Have....A....Router


If I do, it's built in to the modem.

I have no way to configure or access the router ... 192.168.2.1 is the way I access my modem configuration and there isn't anything there related to port forwarding

then you have a router with a built-in modem.

what about anything like "Virtual Host" or such like?