COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :

Go Back   Cockos Incorporated Forums > NINJAM Discussion > NINJAM User Discussion

Reply
 
Thread Tools Display Modes
Old 03-31-2020, 07:57 AM   #1
cipp0
Human being with feelings
 
Join Date: Mar 2020
Posts: 2
Default Setting up a remote NINJAM dedicated server

Hello everybody,
I state that I am a novice about servers.
with my music association we have a domain with linux hosting with good bandwidth.

I managed to create my private server on my MAC and use a DNS from our domain to redirect it but, obviously, not having a static public ip, I have to manually change it every time and therefore it is not very efficient.

So,my goal is to create a server accessible through the domain that we have without hosting it on my computer (like the public servers that we all see).

I uploaded the linux server folder to my sub-domain, I connected via ssh, I started the "make" command from the terminal, and finally I started the server with "./ninjamsrv config.cfg

The server starts but the phrase "listening on port 2049" does not appear and I cannot connect to the address "sub.mydomain.com:2049".

I don't understand what I have to do at this point, I have searched how to do port forwarding in the cpanel but without success.

can someone help me? I can't find a specific guide on how to remotely host the ninjam server
Attached Images
File Type: jpg screenshot.jpg (27.5 KB, 238 views)
cipp0 is offline   Reply With Quote
Old 03-31-2020, 08:47 AM   #2
akademie
Human being with feelings
 
Join Date: Mar 2007
Posts: 4,020
Default

If I remember correctly, on linux, there is no other message displayed other than "Server starting up..."

Can you try to connect to the hosted server directly using numbered IP address?

Also, try to use different port (2050, 2051, 2052), edit your config file and then restart ninjam server by "killall -HUP ninjamsrv" to take effect.

EDIT: I've had problems with 2049 port on my Windows machine at work, different port (2050) was OK.
You can share the correct IP or host name to let us try from different places.
akademie is offline   Reply With Quote
Old 03-31-2020, 11:22 PM   #3
pljones
Human being with feelings
 
pljones's Avatar
 
Join Date: Aug 2007
Location: London, UK
Posts: 768
Default

This is a common issue for anyone setting up a server - not related to NINJAM or Linux specifically.

Using "sub.mydomain.com" from inside your LAN goes out to an internet name server and get the address that you WAN router is exposing to the world. You then try to establish a network route to that address and your WAN router gets "confused" trying to talk to itself and says "No, that's dumb, won't do it".

Inside your LAN, you need to use the LAN address for the server.
__________________
Quote:
Originally Posted by Tony Williams
...Playing fast around the drums is one thing. But to play with people for others, to listen to, that's something else. That's a whole other world.
pljones is offline   Reply With Quote
Old 04-01-2020, 12:20 AM   #4
cipp0
Human being with feelings
 
Join Date: Mar 2020
Posts: 2
Default

Quote:
Originally Posted by akademie View Post
Can you try to connect to the hosted server directly using numbered IP address?
Also, try to use different port (2050, 2051, 2052), edit your config file and then restart ninjam server by "killall -HUP ninjamsrv" to take effect.
I tried it but now I made some mistakes with the DNS and my website go down ahah here's what happens to do noob things. I try different ports and kill the server many times but nothing. I think that the problem is that I can't open the ports via Cpanel of my hosting in Linux. The ip is 185.2.5.77

Quote:
Originally Posted by pljones View Post
This is a common issue for anyone setting up a server - not related to NINJAM or Linux specifically.

Using "sub.mydomain.com" from inside your LAN goes out to an internet name server and get the address that you WAN router is exposing to the world. You then try to establish a network route to that address and your WAN router gets "confused" trying to talk to itself and says "No, that's dumb, won't do it".

Inside your LAN, you need to use the LAN address for the server.
It's not a server hosted locally! when I run my server on MAC everything works great with my public IP and also with a DNS that resolve in it. The problem is my remote Linux Hosting, I run the server via SSH terminal but I can't reach it!
cipp0 is offline   Reply With Quote
Old 04-01-2020, 04:06 PM   #5
pljones
Human being with feelings
 
pljones's Avatar
 
Join Date: Aug 2007
Location: London, UK
Posts: 768
Default

Ah right.

So you need to ask your hosting provider how to open a port that they usually don't have open for you.
__________________
Quote:
Originally Posted by Tony Williams
...Playing fast around the drums is one thing. But to play with people for others, to listen to, that's something else. That's a whole other world.
pljones is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 -7. The time now is 01:18 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.