LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 09-05-2009, 03:12 PM   #1
maggus
LQ Newbie
 
Registered: Apr 2006
Distribution: Puppy, Fedora, PCLinux
Posts: 19

Rep: Reputation: 0
Blocked ports. Can not find where. Help!


Hi.
I have got access to a remote linux box, where I need to install my application. My app listens on certain TCP port expecting connections from outside world. I have started my app successfully and it has bound to a port and listening. Connection from localhost are ok. But I can not connect from outside world. I have tried different ports and I have found that port 8080-8082 are working, but not other random ports. It is like ports are block but I do not know where? iptables has no rules in it. netstat looks ok two.

Code:
debian:~# netstat -lan
.....
tcp6       0      0 81.91.129.179:6080      :::*                    LISTEN 
.....
Code:
debian:~# iptables --list -n -v
Chain INPUT (policy ACCEPT 4176 packets, 428K bytes)
 pkts bytes target     prot opt in     out     source               destination    

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain OUTPUT (policy ACCEPT 4125 packets, 678K bytes)
 pkts bytes target     prot opt in     out     source               destination
http://www.yougetsignal.com/tools/open-ports/
shows that the port is blocked.

Any ideas?

Thanks.
 
Old 09-05-2009, 04:28 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,154

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
How are you connected to the remote site? Most network access connection devices (DSL modems, commercial cable modems, etc.) contain their own firewalls.
 
Old 09-05-2009, 05:15 PM   #3
maggus
LQ Newbie
 
Registered: Apr 2006
Distribution: Puppy, Fedora, PCLinux
Posts: 19

Original Poster
Rep: Reputation: 0
I have not been given any additional information on how that remote box is connected to the internet. As far as I can tell it is a dedicated server at some hosting provider and it has a static ip. traceroute shows that there is another ip address in the same subnet, which connection goes through. I guess that could be a gate or a router but I have no access for it. Do you think ports could be blocked by the hosting provider's router?
 
Old 09-05-2009, 05:16 PM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,516

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Perhaps you can contact support?
 
Old 09-05-2009, 06:46 PM   #5
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,154

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
Actually, I was asking about your connection to the remote Linux box. I was assuming that, by "remote" you had implied that your route was passing through some type of hardware connecting to a leased cable or similar infrastructure. My point was that the lease vendor often installs a hardware firewall on the connection that wouldn't necessarily be visible in the traceroute output. Actually, such a firewall could be at either end of your connection or internal to any switch through which your signal is passed (although, of course, switches - by definition - are supposed to pass every routable datagram). Some "switches" are internal to things like modems, and modems often do provide firewalls.
 
Old 09-06-2009, 11:43 AM   #6
maggus
LQ Newbie
 
Registered: Apr 2006
Distribution: Puppy, Fedora, PCLinux
Posts: 19

Original Poster
Rep: Reputation: 0
My box connection probably does not matter, since I have checked ports using third party public service like http://www.yougetsignal.com/tools/open-ports/ and they are seams to be blocked two.
Bu t I see your point. Bottomline, I would need to talk to hosting support first about this remote box connection specifics.
 
  


Reply

Tags
port blocking


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to tell what ports are being blocked? metallica1973 Linux - Security 2 12-18-2005 08:19 PM
Ports Blocked spaceballs Slackware 4 05-02-2005 10:42 PM
Find Blocked Ports on Network artielnx Linux - Newbie 2 09-30-2004 04:01 PM
getting by blocked ports niehls Linux - Networking 1 07-06-2003 04:00 PM
PORTS 80 and 8080 BLOCKED! vbp6us Linux - General 8 10-12-2002 11:56 PM


All times are GMT -5. The time now is 05:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration