Jump to content
  • 0

Connecting with server in own network.....


pascal

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   1
  • Joined:  02/02/12
  • Last Seen:  

Hi,

So i made a server thats running on 1 pc and want to connect to it with a other pc within my network but it doesnt let me connect so i wanted to know if im using the right ip's?

- router is between both pc.

- clientinfo 192.168.x.x (ip from server pc)

map; map=wan / char=lan (ip from server pc)

char; char=wan / login=lan (ip from server pc)

inter; all ip=default 127.x.x.x (really dunno if thats needs a change)

sub; sub:wan:wan

- port 5121/6121/6900 are forwarded in my router

When i try to connect the server its accepting the user/pass in the login screen but then it doenst connect with a msg:faild to connect and the server says connection closed.

I want to be able to connect within my own network but i also want to give people acces thru internet for testing.....is that possible even?

or is it better to change my router for a hub?

Edited by pascal
Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  7
  • Reputation:   0
  • Joined:  01/26/12
  • Last Seen:  

I guess you can try changing the ff.

map; map = lan ip / char = 127.0.0.1

char; char = lan ip / login = 127.0.0.1

Hope this works. I'm guessing that this'll enable your other computer in the same network join.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   6
  • Joined:  01/25/12
  • Last Seen:  

Okay, well from reading your post, you don't seem to understand how IPs really work. There are two ways of connecting a PC within your network. One way is using your WAN IP address (which is your router's IP address). Another way is using your LAN IP address(which each PC in your network has a different one).

I'm going to explain how to using your WAN IP address.

First, make sure you know your WAN IP address, which can be done on this website: http://www.whatismyip.com/

Second, make sure your ports are forward on your router, using the server's LAN IP address.

Third, setup your client on your PC (which will be connecting to the RO server) with the WAN IP.

Forth, everything should be working as should if you setup everything correctly.

If you are still having problems reply including a screen shot of your WAN IP, your server's LAN IP, your router's port forwarding page, and a copy of your client's clientinfo.xml.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   1
  • Joined:  02/02/12
  • Last Seen:  

Okay i will try to follow up you're directions and will reply if i cant figure it out.

Thank you for looking at my problem ;)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   1
  • Joined:  02/02/12
  • Last Seen:  

okay i'm connected to my server finally with my network so ill place the things i did later this week so some1 an tell me what to change for WAN playing /hmm

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   1
  • Joined:  02/02/12
  • Last Seen:  

This is how i can connect within my own network;

Map; char=lan / map=wan

Char; Log=lan / char=wan

Sub; sub:lan:lan

Inter; all 127.0.0.1

What ip do i need to set to wan or lan to make a person connect to me now?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  308
  • Reputation:   3
  • Joined:  12/18/11
  • Last Seen:  

subnet: 255.0.0.0:127.0.0.1:127.0.0.1

subnet: 255.0.0.0:192.168.254.100:192.168.254.100

subnet: 255.0.0.0:customizedro.sytes.net:customizedro.sytes.net


<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
<servicetype>korea</servicetype>
<servertype>sakray</servertype>
 <connection>
 <display>Customized-RO Renewal</display>
 <desc>Customized-RO</desc>
 <address>customizedro.sytes.net</address>
 <port>6900</port>
 <version>25</version>
 <langtype>1</langtype>
 <registrationweb></registrationweb>
 <balloon>Welcome To Customized-RO</balloon>
<aid>
<admin>2000002</admin><admin>2000003</admin><admin>2000004</admin><admin>2000005</admin>
</aid>
 </connection>
 <loading>
<image>loading00.jpg</image>
<image>loading01.jpg</image>
<image>loading02.jpg</image>
<image>loading03.jpg</image>
<image>loading04.jpg</image>
<image>loading05.jpg</image>
<image>loading06.jpg</image>
<image>loading07.jpg</image>
<image>loading08.jpg</image>
<image>loading09.jpg</image>
<image>loading10.jpg</image>
<image>loading11.jpg</image>
<image>loading12.jpg</image>
<image>loading13.jpg</image>
<image>Loading14.jpg</image>
<image>Loading15.jpg</image>
<image>Loading16.jpg</image>
<image>Loading17.jpg</image>
<image>Loading18.jpg</image>
 </loading>
</clientinfo>

if other want you to connect to your server they need to use the above clientinfo.xml.

if you want to connect to your server changed the address of the clientinfo.xml to 127.0.0.1 or local or 192.168.254.100

Edited by simplemhan
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  222
  • Reputation:   35
  • Joined:  12/13/11
  • Last Seen:  

if you want only people to connect to your server through your network, make the ip addresses your router IP's, such as 192.168.xxx.xxx this is your hosts specific router ip, you don't need to forward your port because your not making your server public meaning people in your network can connect to you either way. in the client info under address, you put your hosts router ip(the one i just told you to use earlier). the way offbeat told you was kind of incorrect, a Wan IP is your Public IP address(the address that everyone uses to connect to you via the internet), your LAN ip is your Local IP Address that your router uses to keep different computers seperate on the same network, the way offbeat has people connecting to you is via internet which is in a way, slower.

if your just using your server in your network for people to connect to you from your network, use your lan IP(192.168.xxx.xxx), this is how your setup should be

char_athena/map_athena ips = 127.0.0.1(hosts local ip)

subnet_athena = 255.0.0.0:127.0.0.1:127.0.0.1(hosts subnet:local IP:Local IP)

clientinfo.xml address = 192.168.xxx.xxx(this is Your hosts lan IP that your router has given to it not Wan because were making this network based not public based)

you dont need to touch login_athena for ip's because your not using multiple servers on one host, your just using 1 server.

Edited by lilcooldude69
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...