Thats normal. If I remember correct, TCP connection is characterized with destination IP address & port and source IP address & port. And if destination is usually fixed (1337 for Noobhub, set in config), source port is randomized among free ones. And thats the one you see in log.
I’m sorry to spring this on you guys, but I just got the source code for this Noobhub, and I’ve been trying to make it work, but nothing seems to work for me, I am working with the Corona client, and when I try to connect to the test server that comes with the code (198.57.44.231, 1337), it works fine, and when I try to connect to my server, I get nothing.
The service is running on the server, if I open a telnet connection to my server address and the port I chose for it to use, I get a connection, and no connections errors, so something is up there running, but from the corona or php I get nothing what so ever, any reason that should be so?
If you need any information in order to help me get this up and running, please tell me what you need and I’ll respond ASAP.
Thanks!
Well, you’ll have to be more specific with what you see on the server console log after you start it, and also what you see in your Corona Simulator Output. If it doesn’t work, it should say something like Noobhub attempt to publish without valid subscription, attempt to reconnect, problems with server.
I have noobhub in aws ebs, and I notice that everynow and then I get this on the log :
------------------------------------- /var/log/nodejs/nodejs.log ------------------------------------- New client: 127.0.0.1:38034
(with different port), is that normal? How is this possible?
That is just the issue, I can no response to the client, not even an error message I can relay to you, I send a ping, pong not getting back, no errors or anything shows up on the console, it’s running, but silent… we’re trying this now on a different server, since our production server is a 4 machines with a load balance and it’s a mess for our guy to set things up, so the other server we’re trying on is a single machine setup, we’ll see if there is a difference and maybe we can learn something from it.
Thanks garytse89.
Thats normal. If I remember correct, TCP connection is characterized with destination IP address & port and source IP address & port. And if destination is usually fixed (1337 for Noobhub, set in config), source port is randomized among free ones. And thats the one you see in log.
If anyone is interested in doing the login authentication system that Jack01 mentioned earlier, I posted a tutorial with some code on my blog: http://allingames.ca/node-login-noobhub-corona-sdk/
I haven’t fully kept up with this thread lately, but if anyone is looking for a good, reliable VPS to use noobhub on, I HIGHLY recommend using SecuredSpeed. Link: http://clients.securedspeed.com/aff.php?aff=045
That contains my affiliate link btw, so if anyone wants to use that link to get your vps i would be extremely grateful
Anyways, about that provider. They are very reliable, so reliable that since August of 2012 when I first started using noobhub and securedspeed, my VPS has only been down once due to scheduled maintenance. Noobhub has been running on my VPS for the last 5-6 months with no issue at all. Feel free to edit this thread if you’d like @overtorment to add a link to their site in case anyone isn’t sure where to start. I pay around $2 a month I believe and it’s probably the best bang for your buck imo. You’ll be able to get hundreds, maybe even thousands of connections I imagine on just a $2 a month VPS.
Check out my game implementation WordnRoll. It includes create an account, login, update etc. Other features are realtime multiplay, Facebook login, chat, lobby, random player, push invitations and much more.
Thx to Noobhub I could make all online and server related stuff. It’s out since end june.
https://itunes.apple.com/us/app/wordnroll/id656617182?ls=1&mt=8
If you have some questions arround auth let me know.
Plz leave me a rating in the app store
I’m sorry to spring this on you guys, but I just got the source code for this Noobhub, and I’ve been trying to make it work, but nothing seems to work for me, I am working with the Corona client, and when I try to connect to the test server that comes with the code (198.57.44.231, 1337), it works fine, and when I try to connect to my server, I get nothing.
The service is running on the server, if I open a telnet connection to my server address and the port I chose for it to use, I get a connection, and no connections errors, so something is up there running, but from the corona or php I get nothing what so ever, any reason that should be so?
If you need any information in order to help me get this up and running, please tell me what you need and I’ll respond ASAP.
Thanks!
Well, you’ll have to be more specific with what you see on the server console log after you start it, and also what you see in your Corona Simulator Output. If it doesn’t work, it should say something like Noobhub attempt to publish without valid subscription, attempt to reconnect, problems with server.
That is just the issue, I can no response to the client, not even an error message I can relay to you, I send a ping, pong not getting back, no errors or anything shows up on the console, it’s running, but silent… we’re trying this now on a different server, since our production server is a 4 machines with a load balance and it’s a mess for our guy to set things up, so the other server we’re trying on is a single machine setup, we’ll see if there is a difference and maybe we can learn something from it.
Thanks garytse89.
when i run the server node.js i get error???
Please someone help me.
is that nodejs on windows?
looks like not.
you need Linux to run node.js
Thanks for the reply overtorment.
I am on windows 7 64bit
I don’t have linux at the moment
is there any workaround/solution?
AND 1 BIG THANKS FOR THE GREAT TOOL
Two options: install Oracle Virtual Box and download Linux Ubuntu Server.
Second option: get a cheap linux VDS for couple of bucks per month.
And of course you can use noobhub server that is hardcoded into example. That’s mine cheap VDS specially for development.
If anyone is interested in doing the login authentication system that Jack01 mentioned earlier, I posted a tutorial with some code on my blog: http://allingames.ca/node-login-noobhub-corona-sdk/
I haven’t fully kept up with this thread lately, but if anyone is looking for a good, reliable VPS to use noobhub on, I HIGHLY recommend using SecuredSpeed. Link: http://clients.securedspeed.com/aff.php?aff=045
That contains my affiliate link btw, so if anyone wants to use that link to get your vps i would be extremely grateful
Anyways, about that provider. They are very reliable, so reliable that since August of 2012 when I first started using noobhub and securedspeed, my VPS has only been down once due to scheduled maintenance. Noobhub has been running on my VPS for the last 5-6 months with no issue at all. Feel free to edit this thread if you’d like @overtorment to add a link to their site in case anyone isn’t sure where to start. I pay around $2 a month I believe and it’s probably the best bang for your buck imo. You’ll be able to get hundreds, maybe even thousands of connections I imagine on just a $2 a month VPS.
Check out my game implementation WordnRoll. It includes create an account, login, update etc. Other features are realtime multiplay, Facebook login, chat, lobby, random player, push invitations and much more.
Thx to Noobhub I could make all online and server related stuff. It’s out since end june.
https://itunes.apple.com/us/app/wordnroll/id656617182?ls=1&mt=8
If you have some questions arround auth let me know.
Plz leave me a rating in the app store
I have a question please…
I am working on a mass realtime multiplayer game and it is my first time messing with networking stuff.
As far as i know the noobhub uses tcp. and everybody on the internet is saying udp is the choice if you are working on a realtime action based multiplayer games. Is it true? should i use noobhub over tcp? what is your opinion?
I have one more question…What if i do everything in luasocket? is it reliable and can handle such type of games? what is the benefits of using noobhub (which is based on node.js i think) over luasocket?
Thanks in advance.