nyx having trouble connecting to existing server

Onyx with its NyxServer is a plugin container written in java. Nyx plugins are simple javascript text files and can be added and removed on the fly. Some plugins: TMX, Dedimania, NextMapInfo, CopperDonation and many more.

Moderators: PaGaisu, Vegeta, TM-Patrol

Post Reply
MystX
pedestrian
pedestrian
Posts: 6
Joined: 05 Mar 2010 05:55
Owned TM-games: TMNF

nyx having trouble connecting to existing server

Post by MystX » 05 Mar 2010 06:20

Hi everyone,

Basically, im getting an error when nyx tries to connect to my existing TMNF server.
I have both xml ports set to 5050, so thats not the problem.. Im stumped..

Here's a pastebin of the area around the error: http://pastebin.com/8JiMEmpB

I just noticed all the "connection refused" messages above the stack info that i was reading.
Why would my other server be refusing connections? Do they need to have the same admin info in configs?

Ill go try that..
EDIT: Nope, they both have the same login info now and still nothing.

Thanks in advance for any help

Xymph
Pit Crew
Pit Crew
Posts: 5654
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: nyx having trouble connecting to existing server

Post by Xymph » 05 Mar 2010 09:27

Don't double post. :roll:
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

MystX
pedestrian
pedestrian
Posts: 6
Joined: 05 Mar 2010 05:55
Owned TM-games: TMNF

Re: nyx having trouble connecting to existing server

Post by MystX » 06 Mar 2010 03:05

Xymph wrote:Don't double post. :roll:
I know :oops: realised the other section wasn't very populated. But still shouldn't have done it. I apologise.
Still haven't found a solution to this though.. Anyone else seen this? i google'd for ages and didnt find any help.

djarrett
smooth traffic navigator
smooth traffic navigator
Posts: 235
Joined: 04 Jul 2006 15:01
Owned TM-games: TMO,TMS,TMN,TMU,TMUF
Location: Fayetteville,GA
Contact:

Re: nyx having trouble connecting to existing server

Post by djarrett » 06 Mar 2010 12:39

MystX wrote:
I have both xml ports set to 5050,

I may indeed be wrong but , I was always led to believe that two things can not use the same port.
you stated that BOTH are set to 5050.
Maybe some more info form you may be necessary for us to fully understand your problem

My 1st server

Code: Select all

		<server_port>2371</server_port>
		<server_p2p_port>3471</server_p2p_port>
		<client_port>0</client_port>
		<bind_ip_address></bind_ip_address>
		<use_nat_upnp></use_nat_upnp>
		
		<p2p_cache_size>600</p2p_cache_size>

		<xmlrpc_port>5071</xmlrpc_port>

	
My second server

Code: Select all

		<server_port>2372</server_port>
		<server_p2p_port>3472</server_p2p_port>
		<client_port>0</client_port>
		<bind_ip_address></bind_ip_address>
		<use_nat_upnp></use_nat_upnp>
		
		<p2p_cache_size>600</p2p_cache_size>

		<xmlrpc_port>5072</xmlrpc_port>
	

Xymph
Pit Crew
Pit Crew
Posts: 5654
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: nyx having trouble connecting to existing server

Post by Xymph » 06 Mar 2010 13:43

MystX wrote:
Xymph wrote:Don't double post. :roll:
I know :oops: realised the other section wasn't very populated.
The Onyx section is however the only appropriate one for Onyx topics. And the authors occasionally visit it to answer questions.
MystX wrote:But still shouldn't have done it. I apologise.
Okay.
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

MystX
pedestrian
pedestrian
Posts: 6
Joined: 05 Mar 2010 05:55
Owned TM-games: TMNF

Re: nyx having trouble connecting to existing server

Post by MystX » 07 Mar 2010 23:47

djarrett: I think you've misunderstood slightly.
Im not trying to run 2 servers at the same time, but i am instead trying to get nyx to connect to my already running server when it starts. For that they need to be running on the same port, but alas im getting the errors above

User avatar
Ant
TM-Patrol
TM-Patrol
Posts: 1845
Joined: 01 Dec 2007 17:04
Owned TM-games: TMN, TMUF, TM Wii
Location: London, England
Contact:

Re: nyx having trouble connecting to existing server

Post by Ant » 08 Mar 2010 00:20

As far as I know, the server port and xmlrpc port are different, i.e they won't run on the same port but the server should be setup to listen for connections on that xmlrpc port. so for example the server could run on 2351 but listen for connections on 5050 which onyx should connect to.

I may also be wrong there but that is how I run mine :wink:

EDIT--> From what I can see in that log, you are probably doing what i've just said - if so, then you need somebody a lot more experienced than me to answer this - sorry man.

Also (not trying to be patronising) but have you looked at This ??

MystX
pedestrian
pedestrian
Posts: 6
Joined: 05 Mar 2010 05:55
Owned TM-games: TMNF

Re: nyx having trouble connecting to existing server

Post by MystX » 08 Mar 2010 00:32

ant: Yea ive looked at that and everything there is working properly.

And i dont believe there are any settings for listening. I think the ports are set up correctly as nyx recognises the other server and tries t connect.

User avatar
Ant
TM-Patrol
TM-Patrol
Posts: 1845
Joined: 01 Dec 2007 17:04
Owned TM-games: TMN, TMUF, TM Wii
Location: London, England
Contact:

Re: nyx having trouble connecting to existing server

Post by Ant » 08 Mar 2010 00:59

well then sorry man, I don't use onyx and that's all I can think of atm, maybe pm the publisher ??

EDIT-->
XXX-Ant wrote: I may also be wrong there but that is how I run mine :wink:
My server that is - with XAseco.

MystX
pedestrian
pedestrian
Posts: 6
Joined: 05 Mar 2010 05:55
Owned TM-games: TMNF

Re: nyx having trouble connecting to existing server

Post by MystX » 11 Mar 2010 04:16

Ok ive now tried it with both servers on different ports, both on the same ports.. it doesn't make a difference =\

Post Reply