Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Client and server on the same machine (https://postpacific.loc-online.com/showthread.php?t=4743)

SK 08.06.2006 14:36

Client and server on the same machine
 
So here's the problem. I'm trying to run a server and client on the same PC. I got a router (portforwarding 7777,2106 both tcp). When i set server's IP in lin2db table to 127.0.0.1 and i use the same IP in l2.ini(client) I've got no problems. But i'm trying to run it for my friend as well. So i changed server's IP in l2db to my Wan IP and used wan IP in l2.ini. My friend can connect without any problems but i can't(can't even log in). I also tried to use 127.0.0.1 in l2.ini for me but then it lets me log in till the server choosing screen and i can't pass it. Is there any way how to get it working? What should i change? Maybe i have to do some portforwarding on other ports?

Virexor 08.06.2006 15:46

well thats a router problem, your router probably doesnt accept incoming traffic from the same IP as the routers IP, you need a new router if you want to do that

SK 08.06.2006 15:56

LoL Dude please don't tell me this :-/. There must be a way how to fix it without buying a new router

Virexor 08.06.2006 16:04

well we had the same problem with our server when we were running it at the admins home, we could connect but he couldnt, and if he connect we couldnt so he had to buy a new router to play

SK 08.06.2006 16:08

Hmm and do you know what function does the router need to allow incomming traffic from the same IP? Is it called somehow or :O

torune 08.06.2006 16:56

port forwarding 7777 and 2106 to your lan ip
edit your lin2db to
1 lineage2 xx.xx.xx.xx 127.0.0.1 0 1 1 7777

SK 08.06.2006 17:21

torune if you mean portforwarding to lan IP 1xx.xx8.0.xxx(my pc with client&server) i've already did it before and didn't work :-/
My friend told me to let all the people connecting to my server from internet log in, then change the server table to my local IP and connect. It's working well :o

Mesgabalis 08.06.2006 18:31

or you could just run L2 server in VMWare :)

Phantom2005 08.06.2006 18:41

this has been discussed for like... 2-3 times already i knew the solution :)
They shared some programs to bypass it and stuff.. just do it the old fasion way! much easier!

Dave2005 08.06.2006 19:07

Quote:

Originally Posted by SK
Hmm and do you know what function does the router need to allow incomming traffic from the same IP? Is it called somehow or :O

NAT loopback :)

Modems like SpeedTouch have it (I use speedtouch 716)

testdude 08.06.2006 22:00

lol i had this problem with my old router...

simplest way if its just gonna be u and ur friend, set lin2db server table to 127.0.0.1, connect, set lin2db server table to your outer ip and restart authd, then he can connect :p

i had to do this with my test server for a while xD but i <3 my new linksys


All times are GMT. The time now is 15:49.