Link to home
Start Free TrialLog in
Avatar of richardsimnett
richardsimnett

asked on

How Do I Unlock Debian / Ubuntu so I can open up port 25 connections (send and receive) and so taht I can bind sockets to local ips?

Hello,
I am an application developer using netbeans on ubuntu 7.10... I am writing an application which requires me to be able to open up and listen on port 80, and on port 25. Whenever I try to listen on these ports I am told they are in use by the operating system and the exception that is thrown in java, however, I dont have apache installed nor do I have sendmail or postfix installed. I have checked thoroughly through the package manager looking for a web service or mail service and there is nothing. So my next th0ought was maybe theres some policy in iptables, so I shut iptables down, and nothing. Then I removed iptables completely and still nothing.

Can someone please tell me how to clear these ports, and limitations so that I can listen on these ports, and bind sockets to local IP addresses?

Worth 500 points.

Thanks,
Rick
ASKER CERTIFIED SOLUTION
Avatar of Rance_Hall
Rance_Hall

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Are you running the application as root?
SOLUTION
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of richardsimnett
richardsimnett

ASKER

I am not running as root. I am running as my username rick in gnome.. I can sudo in a terminal session.

Thanks,
Rick
omarfarid,
there are no processes listed at all with those commands, except for a few outbound firefox connections.

Thanks,
Rick
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial