General :: How To Find What Program Is Listen On Port 80
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
ADVERTISEMENT
Jul 20, 2010
I tried to make "ssh tunneling", but failed and got this message.
Quote:
Administrator@windstory-PC /
$ ssh -R 7869:localhost:7869 windowsstudy@192.168.0.4
windowsstudy@192.168.0.4's password:
Warning: remote port forwarding failed for listen port 7869 Last login: Wed Jul 21 01:56:04 2010 from 192.168.0.2 -bash-3.2$
1. system environment
192.168.0.2 - windows 7 + copssh
192.168.0.4 - centos 5.4 x86 + openssh
2. Guide for setting "ssh tunneling"
[URL]
3. Added this to sshd.conf
Quote:
AllowTcpForwarding yes
4. "netstat -na|grep 7869" at 192.168.0.4
Quote:
[root:maestro:~]# netstat -na|grep 7869
tcp 0 0 0.0.0.0:7869 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:7869 127.0.0.1:53539 ESTABLISHED
[code]....
5. result of "ssh -vvv -R 7869:localhost:7869 windowsstudy@192.168.0.4"
Quote:
debug3: authmethod_lookup password
debug3: remaining preferred: ,password
debug3: authmethod_is_enabled password
[code]....
6. I added 7869 for telnet service as follow;
Quote:
mytelnet 7869/tcp # My Telnet server
View 1 Replies
View Related
Aug 20, 2009
Can't seem to access my squid server on port 80. I have port 80 allowed in the conf for this IP. apache is listening to port 80 but only on the 2nd IP. iptables is allowing through port 80 incoming nmap shows no ports open on 80 though:
Code:
Starting Nmap 5.00 ( http://nmap.org ) at 2009-08-20 11:19 BST
NSE: Loaded 0 scripts for scanning.
Initiating SYN Stealth Scan at 11:19
[code]....
View 8 Replies
View Related
Aug 7, 2010
When I use the following command:
ssh user@ssh_server -L 5500:localhost:5500 -p 22
everything works fine. I can log in, and local port forwarding is done. Otherwise when I use the command:
ssh user@ssh_server -R 5500:localhost:5500 -p 22
I get an error "remote port forwarding failed for listen port 5500". However when I try remote port forwarding in WinXP by use of putty there is no problem...
View 2 Replies
View Related
Feb 12, 2009
I make an application on GNU/Linux which listening on a MULTICAST stream, so I open my unconnected socket, bind it on a MULTICAST address and a port, join the multicast group with the "setsockopt (IP_ADD_MEMBERSHIP)", then I receive datagram on my socket.
Now I've two different instances of the same application that run with their own MULTICAST address and port. And what I found strange is that, after a misconfiguration, I switch the ports, for example:
Emitting on 225.0.0.1/23451 and 225.0.0.2/23452
Receiving on 225.0.0.1/23452 and 225.0.0.2/23451
And my receiving part doesn't care about the MULTICAST address, it looks like the socket is listening on the port number only! I mean that the receiver [225.0.0.1/23452] take its datagrams from emitter [225.0.0.2/23452] and vice-versa!
View 2 Replies
View Related
Jan 16, 2011
I just installed KVM on a new system and just found out the hard way that virt-manager cannot be installed on the same machine because of a library conflict, so I will have to manage my VMs from another machine. I will use a SSH tunnel to forward the port, but I don't know what it is. Also, how do I start KVM?
View 4 Replies
View Related
May 23, 2010
I'm running Ubuntu 9.10, and am trying to get proftpd to listen on a port other than 22. I've modified the proftpd.conf file, as well as adding the desired port to my /etc/services file, yet if I try anything other than port 22, the connection is refused.
View 3 Replies
View Related
Feb 6, 2011
It appears that X Windows under Ubuntu (or Gnome?) is started to listen to a Unix named socket, instead of a TCP port number, for client connections. That's what SSH is forwarding when it does X forwarding. I need to start X applications on a remote machine, and then close the SSH connection. So I need to make the connections directly. This is within a LAN on private IPs, so security is not an issue. I searched on help.ubuntu, but there appears to be no particular document that covers this. Anyone know where this is configured to enable it to listen on a TCP port like the usual 6000?
View 6 Replies
View Related
Dec 30, 2010
I wish to use the VNC server built in to the Ubuntu to easily access it from other computers on my local network. I need to skew the VNC Server port off of the normal 5900 to something else because I am using VNC to access several computers (sometimes simultaneously) so each VNC server needs to be set with a different port #. At this point it is all local subnet connections with no incoming internet access and I am not worried about security.
View 2 Replies
View Related
Apr 16, 2011
I would like to listen to a virtual serialport (dev/ttyACM0). I heard you can this with the terminal in Linux. But how? Does anyone know some commands?
View 2 Replies
View Related
Jan 30, 2010
I tried searching and tried different things and have failed miserably. What I am trying to accomplish is have postfix listen on port 587. I have read that I should do this using Linux Firewall rules as to not mess with postfix config. Here's what I have in my ip6tables.
Code:
iptables -t nat -A PREROUTING -p tcp --dport 587 -j REDIRECT --to-ports 25 However, when I restart ip6tables I get unknown arg --to-ports
View 11 Replies
View Related
Aug 29, 2010
On Fedora 13 is there anywhere else on the system that I have to change to get Apache to Listen to an assigned port, something other than 80. Suppose for instance I wanted Apache to Listen on port 94. I told by the site that their router is forwarding apache to port 94. That doesn't mean I change the Listen in httpd.conf. correct. Apache is still expecting connection on port 80 but in this case 80 then gets forwarded in the router to 94. This is my understanding.
View 5 Replies
View Related
Apr 6, 2010
How can I set my server to listen at a different port for http access. I would like to use port 8080 (to circumnavigate isp blocks). Also can I do the same thing for sftp connections?
View 3 Replies
View Related
Mar 1, 2010
I was just wondering what I have to edit in order to get Maia Mailguard to listen on port 443 instead of port 80
right now I am logging on with [URL] but I would like to connect to [URL]
View 1 Replies
View Related
Mar 20, 2010
Which program allows us to listen to music by folders?
View 2 Replies
View Related
May 13, 2010
is there any program to see video without X as mp3blaster to listen music without X?
View 4 Replies
View Related
Feb 3, 2010
I have written a program which uses port 5000. I need to restrict other programs use this port when I'm not running that program. In Linux are there a mechanism to restrict port 5000 accesses from other programs.
View 2 Replies
View Related
Jan 21, 2010
Is there a way to determine what program is listening to some port, TCP or UDP, in Linux?
View 4 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
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
Feb 5, 2010
I am writing some application in C, which will access a serial port device (RS232). My application is working good. But if any other application is already opened the port, I couldn't able to identify that. In windows VB program, while accessing comport through mscomm control, i am receiving an error as "Port Already Opened". But in Linux environment, through C program how can i get that? I am accessing comport 1 as follows
fd = open("/dev/ttyS0", O_RDWR | O_NOCTTY | O_SYNC);
View 3 Replies
View Related
Sep 6, 2010
We are trying to create a message forwarder program that receive a message on Port A and pass it on t Port B. Also receive a message from Port C and Pass it on to Port D as follows.
[Code]...
View 4 Replies
View Related
May 20, 2011
On Unix I can call certain programs from everywhere, like sort, pwd or my_custom_script.sh. How can I find out, where on the system my_custom_script.sh really resides?
View 2 Replies
View Related
Aug 5, 2010
So i made this application using QtCreator and when I run it on another computer it saysQuote:libQtGui.so.4 -- cannot be found...ok so i installed libqt4-core and libqt-gui but now it says..
View 1 Replies
View Related
Feb 23, 2011
I was wondering whether there is an inbuilt logging system in UNIX?
I ran and installation and the program opened up automatically but I can't find the program executable.
If I could find a log then I could locate this file.
View 9 Replies
View Related
Sep 22, 2010
I wrote a program that multiplies 2 matrices using multi-threads and another one using multiple processes and shared memory. Both in C.I need to find the total memory usage of these programs. I know of the top command, but when my matrices are relatively small they don't even show up on top because they complete so fast, how can I find the memory usage for these instances?Also, how can I find the total turnaround time of my programs?
View 3 Replies
View Related
Feb 21, 2010
I'm using OpenSuse 11.2 64 bits When I try to listen to music in Grooveshark Grooveshark - Listen to Free Music Online - Internet Radio - Free MP3 Streaming I can listen fine, and it seems to work ok, when suddenly the sound of the website stops to work, my processor gets overload and I've to reopen the site to continue to listen. I get the following message in kernel (I'm no sure if it's related)
[ 3402.591674] ide-cd driver 5.00
[ 3402.622010] ide-gd driver 1.18
[ 3402.691580] st: Version 20081215, fixed bufsize 32768, s/g segs 256
[ 3404.308048] end_request: I/O error, dev fd0, sector 0
Some Hardware Info:
[Code]...
View 2 Replies
View Related
Sep 6, 2010
I want to check what program is using some ports. I have
Code:
netstat -a | grep localhost
tcp 0 0 localhost:58935 localhost:www ESTABLISHED
tcp6 355 0 localhost:www localhost:58935 ESTABLISHED
udp 0 0 localhost:53888 localhost:53888 ESTABLISHED
I try ps aux | grep 53888. What other command can I use?
View 2 Replies
View Related