public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] opening port 8000
@ 2009-09-23 20:38 Maxim Wexler
  2009-09-23 20:48 ` Justin
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Maxim Wexler @ 2009-09-23 20:38 UTC (permalink / raw
  To: gentoo-user

Hi group,

Shoutcast doesn't connect. nmap reveals all my ports are closed. How
to open port 8000?
netstat -a doesn't mention it.

Maxim Wexler

ps sorry if another similar post made it to the list; I was typing
away and it just disappeared, honest



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] opening port 8000
  2009-09-23 20:38 [gentoo-user] opening port 8000 Maxim Wexler
@ 2009-09-23 20:48 ` Justin
  2009-09-23 20:52 ` [gentoo-user] " Nikos Chantziaras
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 9+ messages in thread
From: Justin @ 2009-09-23 20:48 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 403 bytes --]

Maxim Wexler wrote:
> Hi group,
> 
> Shoutcast doesn't connect. nmap reveals all my ports are closed. How
> to open port 8000?
> netstat -a doesn't mention it.
> 
> Maxim Wexler
> 
> ps sorry if another similar post made it to the list; I was typing
> away and it just disappeared, honest
> 
Assuming you are using an iptables based fw:

iptables -A INPUT -p tcp --dport 8000 -j ACCEPT


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user]  Re: opening port 8000
  2009-09-23 20:38 [gentoo-user] opening port 8000 Maxim Wexler
  2009-09-23 20:48 ` Justin
@ 2009-09-23 20:52 ` Nikos Chantziaras
  2009-09-23 20:52 ` [gentoo-user] " Paul Hartman
  2009-09-23 21:10 ` Kyle Adams
  3 siblings, 0 replies; 9+ messages in thread
From: Nikos Chantziaras @ 2009-09-23 20:52 UTC (permalink / raw
  To: gentoo-user

On 09/23/2009 11:38 PM, Maxim Wexler wrote:
> Hi group,
>
> Shoutcast doesn't connect. nmap reveals all my ports are closed. How
> to open port 8000?
> netstat -a doesn't mention it.

You mean you have a shoutcast server running on your machine?  Are you 
behind a NAT?

To see if you're behind a NAT, type:

   /sbin/ifconfig

and note the "inet addr" of your ethernet device (usually "eth0"). 
Then, go here:

   http://www.myipaddress.com/show-my-ip-address

and check if the IP address reported there is the same as the "inet 
addr" reported by ifconfig.  If they are not the same, you are behind a 
NAT.  That means you will have to "forward" port 8000 in the device your 
PC is connected to (a DSL modem/router/gateway, for example).




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] opening port 8000
  2009-09-23 20:38 [gentoo-user] opening port 8000 Maxim Wexler
  2009-09-23 20:48 ` Justin
  2009-09-23 20:52 ` [gentoo-user] " Nikos Chantziaras
@ 2009-09-23 20:52 ` Paul Hartman
  2009-09-23 21:10 ` Kyle Adams
  3 siblings, 0 replies; 9+ messages in thread
From: Paul Hartman @ 2009-09-23 20:52 UTC (permalink / raw
  To: gentoo-user

On Wed, Sep 23, 2009 at 3:38 PM, Maxim Wexler <maxim.wexler@gmail.com> wrote:
> Hi group,
>
> Shoutcast doesn't connect. nmap reveals all my ports are closed. How
> to open port 8000?
> netstat -a doesn't mention it.
>
> Maxim Wexler
>
> ps sorry if another similar post made it to the list; I was typing
> away and it just disappeared, honest

Well, two questions:

1) "sudo netstat -lpn" - do you see it listening on port 8000? if so,
2) open it on your firewall/router



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] opening port 8000
  2009-09-23 20:38 [gentoo-user] opening port 8000 Maxim Wexler
                   ` (2 preceding siblings ...)
  2009-09-23 20:52 ` [gentoo-user] " Paul Hartman
@ 2009-09-23 21:10 ` Kyle Adams
  2009-10-06 20:11   ` Maxim Wexler
  3 siblings, 1 reply; 9+ messages in thread
From: Kyle Adams @ 2009-09-23 21:10 UTC (permalink / raw
  To: gentoo-user

Maxim Wexler wrote:
> Hi group,
>
> Shoutcast doesn't connect. nmap reveals all my ports are closed. How
> to open port 8000?
> netstat -a doesn't mention it.
>
> Maxim Wexler
>
> ps sorry if another similar post made it to the list; I was typing
> away and it just disappeared, honest
>
>
>   
Couple of quick questions though:
1.) Nmap from outside your network, or just the box with shoutcast?
2.) Direct connection to the internet or not.
    a.) If not directly connected to internet, open port on router
    b.) If directly connected iptables -A INPUT -p tcp --dport 8000 -j
ACCEPT


Cheers

Kad



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] opening port 8000
  2009-09-23 21:10 ` Kyle Adams
@ 2009-10-06 20:11   ` Maxim Wexler
  2009-10-06 20:18     ` [gentoo-user] " Nikos Chantziaras
  2009-10-06 20:20     ` [gentoo-user] " Andre Parker
  0 siblings, 2 replies; 9+ messages in thread
From: Maxim Wexler @ 2009-10-06 20:11 UTC (permalink / raw
  To: gentoo-user

>     b.) If directly connected iptables -A INPUT -p tcp --dport 8000 -j
> ACCEPT

sorry for the delay answering,  only just got back to mobile mode.

 soupeee # iptables -A INPUT -p tcp -dport 8000 -j ACCEPT
Bad argument `8000'

mw



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user]  Re: opening port 8000
  2009-10-06 20:11   ` Maxim Wexler
@ 2009-10-06 20:18     ` Nikos Chantziaras
  2009-10-06 20:20     ` [gentoo-user] " Andre Parker
  1 sibling, 0 replies; 9+ messages in thread
From: Nikos Chantziaras @ 2009-10-06 20:18 UTC (permalink / raw
  To: gentoo-user

On 10/06/2009 11:11 PM, Maxim Wexler wrote:
>>      b.) If directly connected iptables -A INPUT -p tcp --dport 8000 -j
>> ACCEPT
>
> sorry for the delay answering,  only just got back to mobile mode.
>
>   soupeee # iptables -A INPUT -p tcp -dport 8000 -j ACCEPT
> Bad argument `8000'

That's not what the intructions you quoted say.




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] opening port 8000
  2009-10-06 20:11   ` Maxim Wexler
  2009-10-06 20:18     ` [gentoo-user] " Nikos Chantziaras
@ 2009-10-06 20:20     ` Andre Parker
  2009-10-09 16:46       ` Maxim Wexler
  1 sibling, 1 reply; 9+ messages in thread
From: Andre Parker @ 2009-10-06 20:20 UTC (permalink / raw
  To: gentoo-user

On Tue, Oct 6, 2009 at 11:11 PM, Maxim Wexler <maxim.wexler@gmail.com> wrote:
>>     b.) If directly connected iptables -A INPUT -p tcp --dport 8000 -j
>> ACCEPT
>
> sorry for the delay answering,  only just got back to mobile mode.
>
>  soupeee # iptables -A INPUT -p tcp -dport 8000 -j ACCEPT
> Bad argument `8000'
>
> mw
>
>

--dport (two hyphens)

-- 
Best regards,
Parker Andre.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] opening port 8000
  2009-10-06 20:20     ` [gentoo-user] " Andre Parker
@ 2009-10-09 16:46       ` Maxim Wexler
  0 siblings, 0 replies; 9+ messages in thread
From: Maxim Wexler @ 2009-10-09 16:46 UTC (permalink / raw
  To: gentoo-user

sorry guys, must squint harder

On 10/6/09, Andre Parker <andreparker@gmail.com> wrote:
> On Tue, Oct 6, 2009 at 11:11 PM, Maxim Wexler <maxim.wexler@gmail.com>
> wrote:
>>>     b.) If directly connected iptables -A INPUT -p tcp --dport 8000 -j
>>> ACCEPT
>>
>> sorry for the delay answering,  only just got back to mobile mode.
>>
>>  soupeee # iptables -A INPUT -p tcp -dport 8000 -j ACCEPT
>> Bad argument `8000'
>>
>> mw
>>
>>
>
> --dport (two hyphens)
>
> --
> Best regards,
> Parker Andre.
>
>



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-10-09 16:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-23 20:38 [gentoo-user] opening port 8000 Maxim Wexler
2009-09-23 20:48 ` Justin
2009-09-23 20:52 ` [gentoo-user] " Nikos Chantziaras
2009-09-23 20:52 ` [gentoo-user] " Paul Hartman
2009-09-23 21:10 ` Kyle Adams
2009-10-06 20:11   ` Maxim Wexler
2009-10-06 20:18     ` [gentoo-user] " Nikos Chantziaras
2009-10-06 20:20     ` [gentoo-user] " Andre Parker
2009-10-09 16:46       ` Maxim Wexler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox