Ubuntu Networking :: Netstat Shows Web Server Connecting To Itself?
Jul 14, 2011
I've been experiencing some home web-server slowdown issues lately, and I wanted to see if it's a problem with the server itself. I'm not sure if this might be the problem, but upon checking netstat -tn, I see over 15 instances of the following:
[Code]...
where 192.168.2.9 is the server's local address, the local address port varies, and the foreign address is the server's web address. If anyone knows what might be causing this and/or how to fix i
We are running a combination of Apache-2 with mod_jk connecting to tomcat workers running on separate hardware.Strange: "netstat -tn" on the Apache server outputs identical combinations of source address, source port, destination address and destination port.
Has anybody else experienced this phenomenon? (I googled and searched LQ but couldn't find anybody else reporting this)Is netstat broken, or is there another explanation?
had some problems with setting up Linux on my virtual machine as I cannot connect with putty (connection gets refused) to it but now I guess I figured my problem out, just not the way how to solve it .If I do netstat -nap | grep :22 I get the following output:[[ see attachment ]]
Shouldn`t there be some kind of LAN IP instead of 0.0.0.0?Does anyone have a possible solution for that? Checked iptables and such, they are not causing it.
While running some live tests last week I saw an odd situation where netstat appeared to be displaying the wrong PID and process name for TCP connections. I'm trying to figure out if this is just a strange netstat bug or if it could indicate something odd is happening with our software.
We have a main program which establishes a number of connections, including connecting to a JMS server and listening/accepting a TCP connection. The main program also creates a child process which it uses to communicate with another server. On at least three occasions we saw a situation we saw netstat reporting all the expected TCP connections (correct ip/port for both source and destination), however the child process, instead of the main, was listed for the PID. The main process was still running but netstat no longer reported any TCP connections established by the main program. The main program continued to function correctly, the JMS communication continued to work and we believe the other TCP connection was functioning correctly despite the program supposedly not having any TCP connections.
I'm wondering if this could simply be a bug and/or obscure functionality of netstat that I don't understand which would cause netstat to report the child process as 'owning' the parents TCP connections. I don't know how this would happen or why the parent would continue functioning despite the problem otherwise.
While issuing the command netstat -M it shows netstat: no support for `ip_masquerade' on this system. But this system is used as a gateway and iptable rules are set for ip forwarding. Also internet is getting another machine through this machine. What about the message?
I just found something "strange" by using netstat tcp 0 0 myhost.deprecated:53719 amaretti.chimfar.:54406 ESTABLISHED How can I check what is the program that is responsible for this line?
I assume that *:* means that any foreign host can connect from any port, but then what does [::]:* mean? and localhost:ipp... what port is ipp? Shouldn't ports be numeric?
I have a home server that I have setup to connect to via SSH. All is working well with that. I would like to have the home server access the internet through a VPN. However, if I do this, I am no longer able to connect to the server via SSH, even though I know what its IP address is.
I am having problems connecting to my VNC server. The host machine is running fedora core 15.
In the past I have been able to connect to the machine, but for some I no longer can't.
I have done the following but still am unsure what problem is 1. Verfied the VNC server is running 2. Verified my user "trb" is in the vnc users list 3. I have checked that my port is open (at least i think). i launched a terminal and did "telnet 127.0.0.1 5902" and successfully connected.
My vncservers config file which is located in /etc/sysconfig/vncservers
Code:
Here is the log file from my latest connection attempt.
I have a small office network (about 30 machine) with linux gateway (6Mbps internet bandwidth). Every user get only 500Kbps bandwidth, and they use the internet very poor. The internet getting slow lately, and I noticed that there are huge amount of small packets (78 byte, 48 byte) coming to linux machines. My question is: How can I solve which machine(s) sending those small packets? Do you have any ideas with netstat command?
Using netstat I can get a lot of network related information which is pretty useful at times. But when I use for example 'netstat -s' it gives me a lot of counts for bits transferred or data packets transferred etc. Now one thing I am not sure of is that for how long those counts will keep rolling and when will they get reset (when I restart the machine?, when I restart the network services? Or if there is some kinda threshold set on it?) How exactly netstat counts those things (I mean what is the source of those counts for netstat).
I'm trying to connect to an XPpro machine using terminal server, I've been to the microsoft web sight and configured xp as they explain. Which consists of "allow remote desktop connections" and "re configure the fire wall", Done. I've obtained the ip address of the router and the user name and password of the xp machine and still I cannot access it!
I have been wanting to switch from my routers VPN to my headless linux box VPN. I have everything setup in the PPTP and then forwarded the ports to it. Heres the kicker. My APPLE Iphone connects to the VPN without a problem at all. Views Intranet pages etc.
My Windoz XP is kicking and screaming and one error after another. This is my setup on XP: I entered Ip Entered exact same credentials as used for connecting with my iphone turned off "use gateway on remote network" Changed type to PPTP VPN connecting my xp machine to this PPTP server on linux?
I have setup an ubuntu gateway server by using four NIC cards.
eth0 :210.212.235.107 is connected to the internet eth1 :192.168.1.222 is connected to the local network eth2 :192.168.2.222 is connected to another network
Here 192.168.1.222 is the gateway for 192.168.1.0 network and 192.168.2.222 is the gateway for 192.168.2.0 network.These network configurations are working fine, but i want to block inter network communication ie from 192.168.1.0 network to 192.168.2.0 network,i want to block the communication for securing the local networks more.I know iptable rule is enough for this purpose .But i cant find the apt rule for this purpose.
i have two subnets with different gateways.i am thinking of connecting them via a linux server which would enable them to communicate.but i dont know how to proceed for getting this done.how should the connection be made and what should be the configuration settings on the linux server.
I just installed Ubuntu server edition on to an old Dell desktop. The only problem is that I can't get the Internet to work. I have tried the following and I guess it doesn't work:
Each of those commands don't give me any error and it would seem like everything works fine, until I try to ping google or any website and I get an error that tells me that no host was found. I am using version 10.04 of Ubuntu server.
I'm attempting to get 10.04 to connect to an SBS 2003 pptp vpn server, but for the life of me have been unable to find or implement a working solution. System previously had 8.x and 9.x and had no difficulty connecting to same server, but on a fresh install of 10.04 cannot connect.
tail -f /var/log/syslog shows the following:
Code: Sep 10 15:19:32 ubuntu NetworkManager: <info> Starting VPN service 'org.freedesktop.NetworkManager.pptp'... Sep 10 15:19:32 ubuntu NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.pptp' started
I'd document here the way to get to eDesktop through linux (debian, ubuntu) at the University of West Florida (UWF), since they appear to only support Windows through their documentation on the University web site, and the link through Argus (the secure web site) doesn't work in Linux. This is sometimes needed to use the University resources (libraries and computer programs) from remote locations, and otherwise a google search is fruitless. I had to have a guy in the computer science department show me how to do it. This may apply for other Universities with similar setups. It was impossible for me to figure it out on my own, I had to go back to my old 9.04 partition to get the info...
1) Open Terminal Server Client (Applications>Internet>...)
2) Insert as follows:
Code:
Computer: eDesktop.uwf.edu Protocol: RDP User Name: YOUR USERNAME
[code]...
3) OPTIONAL BUT RECOMMENDED click Save As and save it as a quick connect so you don't have to refer to this again.
4) Flip through the other tabs and configure as desired, and click Connect!
I just installed Ubuntu 9.10 and its great. However when I connect to the internet at home it shows that the connection has been established but I still cant connect to the internet. My flatmates are all able to connect. However, I am able to connect from work both wirelessly and through an ethernet cable.
I connected two machines, I have their given of the addresses ip in a static way and not with DHCP. I gave to the machine server the address: 192.168.0.1, and in the machine client the address 192.168.0.2.
We have a mac book connected to our network. It can surf the web and even get into our network files. However, these network files are on linux, and finding the open files (not password protected) is fine. But we need the mac book to get into the protected files to edit our media. When we connect to the linux server, there is a pop-up asking for a login. We enter the correct credentials that work for everyone else to get into our protected files, but these credentials don't work... There is a message that pops up: "This operation cannot be completed because the original file '<file_name_here>' cannot be found." But it found the other open files...? what do we do to get this to work? The macbook is 'os x' and the linux server is 'fedora 10'
I have the following setup: An ADSL Router (192.168.4.1) which plugs into my server (that has 2 network cards) Server(eth0-connecting to the ADSL Router) = 192.168.4.2 Server(eth1-connecting to the windows XP PC) = 192.168.4.3 And the windows XP PC = 192.168.4.4 if I delete the entire routing table and add a default route route add default gw 192.168.4.1 dev eth0 I get an error (I can't remember the error, the PC's at work) however if I unplug the cable going from the PC to eth1, I can then successfully add the default route, and I can ping the router, however when I reconnect the cable to the PC and Server... I can still ping the router (from the server) but I cannot ping the PC
if I try and add another route such as: route add -net 192.168.4.0 netmask 255.255.255.0 gw 192.168.4.4 it wont let me add the rule I have a feeling i am doing something really stupid here with the addressing scheme,