Old 19th December 2020, 18:10   #1
imbnRadio
Junior Member
 
Join Date: Jun 2020
Posts: 26
Port Forwarding...

Hi,
I have tested all possible combination after I configured Ports in my router, and nothing seems to work.
My local computer IP is 192.168.1.58 and every time I run the sc_serv, it shows a different port like 192.168.1.58:54627
When I setup the sc_serv.conf I used 8080 for internal and external ports.
What am doing wrong? The sc_serv connects OK to the source.

This is my sc_serv.conf

logfile=logs\sc_serv.log
w3clog=logs\sc_w3c.log
banfile=control\sc_serv.ban
ripfile=control\sc_serv.rip
publicserver=always
portbase=8080
password=testing
adminpassword=changeme

Is there something missing?
Is it my port forwarding the problem.
I really appreciate any help on this.

Thanks
imbnRadio is offline   Reply With Quote
Old 19th December 2020, 19:50   #2
djSpinnerCee
Forum King
 
djSpinnerCee's Avatar
 
Join Date: Aug 2004
Location: Hollis, Queens/The Bronx, NYC
Posts: 3,548
at your router, you need to forward inbound tcp port 8080 (portbase) to your server's lan address 192.168.1.58 port 8080

PortForward.com is your friend -- https://www.portforward.com/router.htm

your dnas is fully setup, leave it alone.
djSpinnerCee is offline   Reply With Quote
Old 21st December 2020, 04:34   #3
imbnRadio
Junior Member
 
Join Date: Jun 2020
Posts: 26
This is a pain in the ass. As you may see my DNAS file is OK and the server connects without any problem to the source. Problem is that every time I run the sever, it come with a different port attached to the local IP and when I try to connect to the stream through the public IP, it doesn't connect.
I've attached a pic of the DNAS.
Is there a way to assign port 8080 to the computer local IP. I have already forward that port to that IP in the router.
Any help will be appreciated.
Thanks
Attached Thumbnails
Click image for larger version

Name:	Server.jpg
Views:	50
Size:	781.1 KB
ID:	54693  
imbnRadio is offline   Reply With Quote
Old 21st December 2020, 06:01   #4
imbnRadio
Junior Member
 
Join Date: Jun 2020
Posts: 26
Sorry about the server image. This is the one that uses the port 8080
Attached Thumbnails
Click image for larger version

Name:	ServerNEW.jpg
Views:	46
Size:	490.3 KB
ID:	54694  
imbnRadio is offline   Reply With Quote
Old 21st December 2020, 08:24   #5
djSpinnerCee
Forum King
 
djSpinnerCee's Avatar
 
Join Date: Aug 2004
Location: Hollis, Queens/The Bronx, NYC
Posts: 3,548
the firewall on the server allows it (inbound tcp port 8080) too, right ?

the port that the source uses to connect to your dnas will always be different, ignore that, it's a port you don't need for configuration.

port 80 inbound may be a no go, depending on your isp, port 80 inbound may be blocked. i'd try another port first.

...and the source > connects to > the server. title and artwork updates go from source to server too.
djSpinnerCee is offline   Reply With Quote
Old 21st December 2020, 14:21   #6
imbnRadio
Junior Member
 
Join Date: Jun 2020
Posts: 26
Quote:
Originally Posted by djSpinnerCee View Post
the firewall on the server allows it (inbound tcp port 8080) too, right ?
Yes, firewall inbound and outbound tcp port 8080 are allowed on the server.
imbnRadio is offline   Reply With Quote
Old 21st December 2020, 14:35   #7
djSpinnerCee
Forum King
 
djSpinnerCee's Avatar
 
Join Date: Aug 2004
Location: Hollis, Queens/The Bronx, NYC
Posts: 3,548
what doesn't work?

how are you testing ?

do you know your public address ? // try http://whatsmyip.com/
djSpinnerCee is offline   Reply With Quote
Old 21st December 2020, 20:36   #8
imbnRadio
Junior Member
 
Join Date: Jun 2020
Posts: 26
Yes, I know: It should be: http://mypublicIP:8080/
Isn't it the way it is?
imbnRadio is offline   Reply With Quote
Old 21st December 2020, 20:56   #9
djSpinnerCee
Forum King
 
djSpinnerCee's Avatar
 
Join Date: Aug 2004
Location: Hollis, Queens/The Bronx, NYC
Posts: 3,548
start from the inside out:
--- from the server computer
http://localhost:8080/index.html // means the dnas is running ... on the localhost interface

http://{lan ip}:8080/index.html // also bound to the server's nic and the firewall allows it.
--- try the above from another box on the lan ... some routers don't let lan clients talk to each other..

http://{whatsmyip}:8080/index.html // from in your lan means port forwarding is properly set up...
--- from outside your lan and you're all done. some routers [i know, again], dont let lan clients talk to the public ip

the dnas index.html requires no password and it must be accessable.
djSpinnerCee is offline   Reply With Quote
Old 22nd December 2020, 21:49   #10
imbnRadio
Junior Member
 
Join Date: Jun 2020
Posts: 26
Thank you. You were right. My router didn't let the lan client to talk to the public ip. I tested it from a friend house, and it did work.
Thanks again.
imbnRadio is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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