LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 08-05-2006, 07:02 PM   #1
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
How do I open a port in order to share files?


Hello!

I'm running Limewire pro and I notice that there is never any upload activity going on even though I have over 1000 files to share.

I have been told that ubuntu's default is to never listen on ANY ports, so I was wondering if anyone can tell me how I go about opening a port.

In the limewire options it shows that Limewire is set to listen on port 14983. How do I check/open that port?

Thanks!
 
Old 08-05-2006, 09:54 PM   #2
Centinul
Member
 
Registered: Jun 2005
Distribution: Gentoo
Posts: 552

Rep: Reputation: 30
You could try running the netstat -ln command in a terminal. This will tell you what ports your PC is listening on. If it's not there you would have to open a port most likely via IPTables. That can be done via command line as well and it would look something like this (Don't use this rule directly because it may not be as secure as necessary):
<> indicates user input

Code:
/sbin/iptables -A INPUT -p <UDP|TCP> --dport <LIMEWIRE PORT> -j ACCEPT
 
Old 08-05-2006, 10:00 PM   #3
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by Centinul
You could try running the netstat -ln command in a terminal. This will tell you what ports your PC is listening on. If it's not there you would have to open a port most likely via IPTables. That can be done via command line as well and it would look something like this (Don't use this rule directly because it may not be as secure as necessary):
<> indicates user input

Code:
/sbin/iptables -A INPUT -p <UDP|TCP> --dport <LIMEWIRE PORT> -j ACCEPT
Thanks, My Friend! I was begining to wonder if I was Black-Balled from LQ!

I entered the command, netstat -ln and in fact, 14983 is not there.

So, How do I go about opening port 14983 "via IPTables"?

Last edited by randell6564; 08-05-2006 at 10:02 PM.
 
Old 08-06-2006, 06:33 AM   #4
Centinul
Member
 
Registered: Jun 2005
Distribution: Gentoo
Posts: 552

Rep: Reputation: 30
First I would check to see if it's installed on your machine. Do that using whatever package manager your distribution uses. Next you are going to have to open the port on your machine using IPTables. The command I gave in my previous post would be a good start. You are going to have to find out which protocol Limewire uses (UDP or TCP or BOTH) and what ports it needs open. Then after that you can use the command I gave here as a starting point. If you google IPTables there is the holy grail of IPTables tutorials and you'll have all the information you need on it.

Now that I think of it. You should also let us know of your network setup. Are you behind a router? If so you might have to use your routers "Port Forwarding" feature instead. Sorry if this is all confusing but we'll get it going for ya
 
Old 08-06-2006, 09:31 AM   #5
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
Hi!

Yes, I am behind a router. That just came to me as well this morning!

I'll start searching on google again.

Thank you for your help!
 
Old 08-06-2006, 02:57 PM   #6
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
Quote:
netstat -ln
Not sure why there's been no result (for me, too).
"netstat -ln | grep <port>" should show an open port in contrast. On the other hand, System >> Administration >> Network Tools >> Port Scan either doesn't show this port as open. So I'm not sure.

Another question: netstat should always list the ports before the router.

And still another thing: Dapper's repos contain FrostWire, a LimeWire clone without that fooking nag screen.
 
Old 08-06-2006, 05:28 PM   #7
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by robbbert
Not sure why there's been no result (for me, too).
"netstat -ln | grep <port>" should show an open port in contrast. On the other hand, System >> Administration >> Network Tools >> Port Scan either doesn't show this port as open. So I'm not sure.

Another question: netstat should always list the ports before the router.

And still another thing: Dapper's repos contain FrostWire, a LimeWire clone without that fooking nag screen.
Yeah, I know about Frostwire. It's just that I purchased Limewire pro a long time ago when I was using Windoze and dont want to not use it. It does seem to have a faster download rate and results than the free version or frostwire.

But even with frostwire, I still am closed to incoming connections. Must be the router, but I recall that once a long time ago, I did not have to do anything to my router.

It's not that important really, but I would like to share files since that is really the whole idea.
 
  


Reply


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
Open Source Order Entry Software? xanimal Linux - Software 1 04-11-2006 12:25 AM
how do i open a session window in gnome in order to install a program. sleekmason Linux - Newbie 3 03-27-2006 03:30 PM
Can't open files from windows share on Suse 10.0 designator Linux - Networking 3 01-02-2006 12:46 AM
Cant open files from windows xp share castrox Linux - Software 2 01-29-2005 09:52 PM
What must i do in order to be able to share internet connection with RedHat 9? Julian_Thong Linux - Newbie 12 08-21-2004 03:05 AM


All times are GMT -5. The time now is 03:32 AM.

Main Menu
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