Ubuntu Servers :: Find Out What Is Using Port 80?
Aug 9, 2011
I have an Ubuntu 11.04 server with lighttpd installed as my web server. It was working fine, but now when I restart it it gives me the following error...
"can't bind to port: 80 Address already in use"
Is there a way for me to find out what is using port 80 in it's place?
View 8 Replies
ADVERTISEMENT
Jun 4, 2010
I noticed you can use names for ports like ssh, instead of the actual port number in iptables, but I can't find a list of what they are?
View 3 Replies
View Related
Apr 12, 2010
I installed Ubuntu 9.10 and tomcat 6 java servlet container. I am trying to run the tomcat server on port 80, so I edited tomcat's configuration file (server.xml) and changed the default port from "8080" to "80". I launched tomcat server, went to my browser and entered:[url], but it says can not find server/location. Then I edit the server.xml and revert back to port "8080" and then enter: [url] and everything works fine. So my guess is some other service is taking up port 80, but I would think not, since I just installed Ubuntu and made sure apache isn't installed or running.
So I went to "System" --> "Administration", then choose "Network Tools". I then executed Netstat and did not see anything taking up port 80, but I do see port 8080 taken (assuming it is the tomcat server). Then I also did a Port Scan and entered my IP number. Again, I don't see port 80 taken, but do see 8080 being used.
I had a winxp laptop computer behind home wireless and was running tomcat 6 server fine with it, but it over-heated and died recently. So I got a used laptop and just installed Ubuntu 9.10. I have not changed my wireless router settings. It is the same as before. So I have ruled out my home's hardware/network equipment.
So here now I sit, wondering what is up?
For security reasons, is port 80 initially blocked by Ubuntu for some reason? Is there something I have to do beforehand to free up port 80?
View 2 Replies
View Related
Jun 21, 2010
How do I find the port which is used by a particular application ?. And how do I terminate that process?
View 2 Replies
View Related
Dec 11, 2010
how can i find on a linux system the processes that are using 8080 port (ex a web server)
View 2 Replies
View Related
Apr 14, 2010
I've killed apache via /etc/init.d/apache2 stop, but something is still listening on port 80:
Code:
root@www:/etc/apache2/sites-enabled# netstat -an | grep LISTEN | grep 80
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:8022 0.0.0.0:* LISTEN
unix 2 [ ACC ] STREAM LISTENING 5806 /var/run/mysqld/mysqld.sock
How do I find out that program this is?, or how to I stop it listening?
View 3 Replies
View Related
Apr 15, 2010
How can I find the PID for all processes running for a particular port?
View 3 Replies
View Related
Jul 13, 2011
I want to run these services on these ports:- ssh:8080- shellinabox:80- squirrelmail via apache2 and SSL:443These appear to be the only ports I can generally connect to through various firewalls I encounter. If I try to get apache2 to not run on 80 shellinxabox appears to bind to it ok, but when I visit my site at port 80 via firefox I get apache instead. 1) How do I stop this and get shellinabox and apache2 working at the same time?2) How do I find another free port that isn't firewalled? All I have been trying is starting shellinabox on various ports and trying to connect and this is a very slow process
View 4 Replies
View Related
Jul 15, 2011
We are a small company running half a dozen servers in data center.Recently we got charged heavily for over-utilizing the data transfer. So,we are looking for a way to find - uploads and downloads per ip and port basis.We have mixed environment (Win2008/Ubuntu) so the tool should be able to work for both.I am not sure if MRTG provides per port(i.e. application) based analysis.
View 4 Replies
View Related
Sep 28, 2010
openSUSE 11.3 question:
I have a PCI parallel port adapter (Syba SD-PEX-NM1P) that should "only" need to be told what ports and irq to use with parport_pc but, for the life of me, I can't make it happen. Using lspci -v, I can see it uses irq 19 (it that 19 or 0x19???) and ports 0xc800, 0xc400, 0xc000, 0xb800, 0xb400 (all 8 bit), and 0xb000 (16 bit). This is confirmed by the YaST2 hardware information tool.
Doing modprobe parport_pc io=0xb000 irq=0x19 should do something useful but I get no result at all. There is no /dev/lpt1 - a /dev/parport(n - where n is a digit) shows up on occasion but I can't figure out when it appears or why. cat foo >& /dev/parport(n) - where foo contains "hello world <FF>" doesn't do anything on the printer. Using the YaST2 printer tool, even the HP tool (the printer is an HP LJ-5P), is fruitless.
View 9 Replies
View Related
Mar 16, 2011
How can I find out which process is listening on a port on linux?
View 5 Replies
View Related
Aug 12, 2011
Possible Duplicate: Finding the process that is using a certain port in Linux I'm using Ubuntu Linux 11.04. How do I write a shell script expression that will find the process running on port 4444 and then kill the process?
View 4 Replies
View Related
Aug 1, 2010
I enabled D-Link (DSL-502T) router web management (I am aware of security implication). I was able remotely to login to the router (by typing http://23.45.xx.6y) before changing the default number 80. Then I changed the port number from the default value 80 to 21908 (https option is not available) for better security, and when I tried to login to the router by typing this :
http://23.45.xx.6y:21908
Yes I am aware that if I am physically near to the router then I can check that , but this is not the case with me. How can I make sure that I had changed port number form 80 to 21908? Does NMAP do a trick to reveal which port is used for web management ? or are there other better options?
View 4 Replies
View Related
Jun 10, 2011
How to find the Address which is already in 2632 port?
View 1 Replies
View Related
Feb 18, 2010
I want to do a simple port redirect, i.e. whatever comes trough whatever interface on port AAAA will get redirected to port BBBBI thought that iptables -t nat -I PREROUTING --source 0/0 --destination 0/0 -p tcp --dport AAAA -j REDIRECT --to-ports BBBBhowever it doesn't work, e.g. nc -v -w2 -z localhost AAAA gives:
nc: connect to localhost port AAAA (tcp) failed: Connection refused
while
nc -v -w2 -z localhost BBBB
[code]....
View 10 Replies
View Related
Oct 11, 2010
I can seem to open port 25565 for a java application (executable jar)
I'm running ubuntu server 9 thoroughly up to date code...
Yet connections to port 25565 fail when I have the firewall enabled (sudo ufw enable)
For example canyouseeme.org says "Error: I could not see your service on port (25565) Reason: Connection timed out"
And connections to port 25565 _DO WORK_ when I disable the firewall (sudo ufw disable)
canyouseeme.org says "Success: I can see your service on port (25565)"
View 4 Replies
View Related
Jan 20, 2010
I have a virtual server setup on port 80 that works fine, however, if I change the port to, say, 8080 the browser then fails to connect.I'm using webmin to configure everything, all the other settings seem to work as I would expect.I get the error "Safari canī open the page http://192.168.0.12:8080 because Safari cant connect to the server 192.168.0.1." in safari, and i get something similar on the xubuntu machine in firefox connecting via localhost.It's almost as though theres a firewall in the way, but I think it's more likely to be some config problem.
View 2 Replies
View Related
Jan 30, 2010
So first off, it probably seems this question has been asked thousands of times before. but I did do a search, mostly archived posts that ended up being something other than a true ip blocking of the port. [URL]..
So my port 80 is truly blocked. Ive tried setting up the port forwarding on my router, Ive tried manually allowing all traffic on port 80 through ip tables. Ive even dabbled with setting up something like openDNS to see So far nothing, Im only available on my local network.
There has to be some way to do a redirect though. even something as simple as an htaccess file redirecting [URL].. xxxx (the space is there to avoid my url being interrupted by a smiley
View 4 Replies
View Related
Apr 11, 2010
I was wondering if I can use a different port for WebMin down below 1024 where I forward ports to my Linux box, rather than the current 10,000.
The reason is I forward higher ports to the Windows machine at present.
The goal is to keep Linux services down in the low port range. Suggestions?
View 3 Replies
View Related
May 15, 2010
when i fisrt signed up for this forums i accidently posted this same topic in the first place i found apropriate(network/wirless) and i just realised i didn't look hard enough so i marked my old post as solved, please admin delete that one. ubuntu server 10.04 LTS running ubuntu desktop on top(for my lack of skill)ok nitty-gritty. i have been learning to use linux for a few months now and i like it but i cannot access my server through WAN on any ports, yes i have them all open and enabled and associated on my router properly. i even tryed turning off firewall on here and i have tryed a list of misc. things. is there something i am not doing that one might initialy do when first starting an ubuntu server?
View 9 Replies
View Related
Jul 10, 2010
I have two computers on a LAN. (This is history not a Bazaar question, although I have one of those too) One of them (Ubuntu 9.04) Im using as a Bazaar repository over sftp. Its been working fine for about a year. Then we had a thunderstorm that knocked out our Internet service for a couple of days. When it came back up everything is working fine accept I could no longer commit to the server. A little detective work showed that ssh was not running on the server. I started it and Bazaar then couldnt find the repository files. I still suspected an ssh problem, but port scans from both computers showed port 22 open on the server and I could do a ssh login from the client ok. Then I started fiddling with ssh on the server and now I have ssh problems on top of the Bazaar problems.
On the server I deleted then regenerated the ssh keys. Ive done
sudo /etc/init.d/ssh reload
sudo /etc/init.d/ssh start
I get a normal starting message and ps ef |grep ssh
shows /usr/sbin/sshd running. But the port scan does not show 22 open and I get connection refused at the client.
View 9 Replies
View Related
Aug 4, 2010
I would like to change port number for a specific folder name on linux server like domain.com/folder_name:yyyy so people can access that folder with pre defined port number. is there a way that I can do that?
View 2 Replies
View Related
Sep 8, 2010
Is it possible to check if a particular port is open for a particular ip in the terminal?
View 4 Replies
View Related
Oct 5, 2010
I have Ubuntu Server (x64) installed on my box with Apache2 and Squid. For awahile port 80 (http) was fine, I could update packages and use wget. Then one random day port 80 became blocked for incoming traffic. I couldn't use apt-get and had to change to an ftp mirror to update. Also wget is not working.
View 3 Replies
View Related
Oct 22, 2010
As far as I understand ssh runs on port 22 but in my /var/log/auth.log I see
Quote:
why is this logged 48504 different than ssh port 22?
View 2 Replies
View Related
Nov 13, 2010
I have a server set up with a VPN (openVPN with DynDNS). My emails are located there and I can check them from home, office, where ever really, with different computers, no problem.However, due to restrictions of some ISPs I would have to change the SMTP server used, depending on where I am with my laptop.
Now, I thought about using the VPN to also tunnel the SMTP traffic through that. But how am I doing that?So far, when I'm connected to via VPN I simply have a local (from the server point of view) IP address to connect to my IMAP server. But how can I route the SMTP port 25 through the VPN?Is that possible to do, also in a way that I don't have to change anything depending on where I am, as in within the network of the server or outside? Since when I'm within the network the VPN obviously isn't connecting..
View 7 Replies
View Related
Dec 1, 2010
I have an apache2 server on a Debian box that I am using as the reverse proxy for my sites that are sitting behind it and everyone is happy. But now I want to be able to access my vmware server console from outside the network without exposing the vmware server port to the internet. So I did this I created a new virtual host for apache and it looks like this (edited for the real world)
Code:
<VirtualHost *:80>
ServerName server.my.domain
# RewriteLog "/var/log/apache2/rewrite.log"
# RewriteLogLevel 9
[Code]....
So here is what I want to be able to do. I want to be able to punch in [URL] and have the reverse proxy just take care of everything else without having to punch in the port number or anything else. I'd also like to have if possible the ssl on the vmware box just pass through the proxy back to the end user. If that isn't possible and I need to create a new ssl for the apache box then that is ok too. I have googled this and looked at several other sites but I'm still a little bit lost.
View 2 Replies
View Related
Dec 13, 2010
We have a Ubuntu system that is connected to 4 different networks.
Code:
eth0: 192.168.12.9
eth1: 192.168.2.142
[code]....
View 4 Replies
View Related
Jan 9, 2011
I am running Ubuntu Server 10.10 still and I finally got a wired connection, but when I use the ifconfig command all I see is the lo(loopback) connection, and i don't know how to enable the eth0 port?
View 2 Replies
View Related
Jan 11, 2011
I have ubuntu Linux xxxx 2.6.32-21-server #32-Ubuntu SMP Fri Apr 16 09:17:34 UTC 2010 x86_64 / GNU/Linux / Ubuntu 10.04 LTS installed on two identical hardware machines. SSH server work, ping work, oracle11g server works, but on one of mi servers one port of a application that develp here can be reach, the port is 2809 (corba). If i do telnet xxx 2809 on the machine, port is responding, but if i do the same in any machine in LAN, dont respond. This only happend on one server!!! the other just work fine I have all firewall disabled!!
Code:
root@xxx:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
[code]....
View 5 Replies
View Related