Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 08.06.2006, 14:36   #1
SK
Архивный участник
 
Join Date: Dec 2005
Posts: 17
Default 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?
SK is offline  
Old 08.06.2006, 15:46   #2
Virexor
Архивный участник
 
Join Date: May 2005
Posts: 81
Default

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
Virexor is offline  
Old 08.06.2006, 15:56   #3
SK
Архивный участник
 
Join Date: Dec 2005
Posts: 17
Default

LoL Dude please don't tell me this :-/. There must be a way how to fix it without buying a new router
SK is offline  
Old 08.06.2006, 16:04   #4
Virexor
Архивный участник
 
Join Date: May 2005
Posts: 81
Default

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
Virexor is offline  
Old 08.06.2006, 16:08   #5
SK
Архивный участник
 
Join Date: Dec 2005
Posts: 17
Default

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
SK is offline  
Old 08.06.2006, 16:56   #6
torune
Архивный участник
 
Join Date: Jul 2005
Posts: 371
Default

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
torune is offline  
Old 08.06.2006, 17:21   #7
SK
Архивный участник
 
Join Date: Dec 2005
Posts: 17
Default

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
SK is offline  
Old 08.06.2006, 18:31   #8
Mesgabalis
Архивный участник
 
Join Date: Jan 2006
Posts: 11
Default

or you could just run L2 server in VMWare
Mesgabalis is offline  
Old 08.06.2006, 18:41   #9
Phantom2005
Архивный участник
 
Join Date: Aug 2005
Posts: 394
Default

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!
Phantom2005 is offline  
Old 08.06.2006, 19:07   #10
Dave2005
Архивный участник
 
Join Date: Apr 2005
Posts: 43
Default

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)
Dave2005 is offline  
Old 08.06.2006, 22:00   #11
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

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

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 17:18.