CentOS 5 Networking :: Can Only Open Apache On Local Machine
May 26, 2011
I just getting back to working with linux. I'm having a problem with what seems to be an iptables thing or something easier than that, Enough here is the question I can get apache to run on the local machine by either going to http://localhost or by the ipaddress on the CentOS machine. But for some reason when I try to take a look on my laptop (on the same network) and try to go to it using the IP address is doesn't go. I can ssh from my laptops but it will not open the apache startup page.
View 1 Replies
ADVERTISEMENT
Sep 21, 2010
So I have apache running on my local computer. When I open up local development sites in tabs in my browser, apache threads are started. That's as it should be. However, when I close the tabs, close the browsers, and then run system monitor/system task manager, I get a long list of apache threads that are sleeping, waiting around for god knows what. How do I get these apache threads to stop hanging around?
View 1 Replies
View Related
Dec 27, 2010
I have setup a Linux Centos with apache server on it in a home network. Everything works fine. When I access the webserver I put in the address bar the IP address of the server which is 192.168.0.150 and when hit enter, it prompts the page where I have to put login information. The login information is set to: username: admin@localhost.local password: *************
It takes long time for authentication go through and load the page eventhough I am accessing the site in a same home local area network with fast ethernet connection. How can I change the localhost.local to something else like maybe [URL] instead and if I have to change settings in other files as well?
View 5 Replies
View Related
Mar 16, 2011
I would like to connect via SSH or similar to my servers located in a remote DC from a laptop running centos5. I normally do this on a puter running dows, and using secureCRT. Just wondering if centos has something built in for this, or if there is some preferably free software I can get.
View 7 Replies
View Related
Mar 4, 2010
How to make apache 2 accessible only on the local network? I have installed it in the easy way (but not the best, probably):
Code:
sudo apt-get install apache2 php5 php5-mysql mysql-server
And now I want to make apache only accessible in my local network.
View 2 Replies
View Related
Mar 31, 2009
I tried to authenticate using ntlm proxy authentication service and my computer could not retrive the IP address. Currently I am using fedora cammbridge
View 1 Replies
View Related
Jul 25, 2010
I have a few ubuntu machines in my house, 1 mythtv backend server with other services as well, 2 mythbuntu frontends boxes hooked up to tv's etc. I wanted to push the audio from my laptop out over pulseaudio to the machine connected to the AV equipment.
I could not see any other pulseaudio sinks in padevchooser... this lead me down the road to investigating avahi.
When I run avahi-browse on my laptop (hydrogen) it only returns the services published from itself:
Code:
$ avahi-browse -ta
+ wlan0 IPv4 byron's remote desktop on hydrogen VNC Remote Access local
+ wlan0 IPv4 hydrogen [00:1b:77:71:97:76] Workstation
[Code]....
My laptop has vmware on it, and I've changed the vmnet intefaces to not support multicast so avahi ignores them. but I'm still at a loss to why my laptop can't see the other machines on my network with avahi (mdns).
View 1 Replies
View Related
Feb 28, 2010
I have a reverse ssh connection established from a remote machine to my local machine - it is established with autossh from the remote machine - I know it is connecting because I can see the two ssh processes on the local machine - and, when I kill the two ssh processes, two new ssh processes are immediately established. But I cannot login to the port on the local machine. I have tried everything - it simply refuses to connect. This remote machine is miles away and not readily accessible.
Code:
ssh -p 7766 -vvv user[at_sign]192.168.1.108
OpenSSH_5.1p1 Debian-6ubuntu2, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
[Code]...
I'm wondering if there is some way I could utilize netcat or socat to "tap into" this connection from my local machine??? (My ultimate goal would be to get to a shell on the remote machine.)
View 5 Replies
View Related
Feb 22, 2010
I have a base install of a LAMP server on my system, and I'm trying to get mod_rewrite working on that local server (the directory of the local site is [URL]. I added this to my /etc/apache2/httpd.conf file, which was blank before I did so:
Code:
<Directory />
Options FollowSymLinks
AllowOverride All
Order deny,allow
[code]....
It's supposed to redirect everything except the listed directories to index.php, which is used as a front controller. However, if I type in [URL] <any other page> I get a 404 error.
View 2 Replies
View Related
Jan 11, 2011
I am trying to host a local website(an wiki application) within a network. Is it necessary that all the files I need to upload should be in the var/www?
View 8 Replies
View Related
Dec 18, 2010
i want to know mac address of a particular ip but the problem is that i am unable to ping that ip but that ip is being used by someone in my local network that i know from my proxy logs. i want to know the mac address of that ip,
View 5 Replies
View Related
Jun 3, 2010
How to install kerberos on a local machine...?
View 2 Replies
View Related
Jan 26, 2011
I'm trying to setup an Apache webserver on my computer in order to practice HTML5/CSS3 for an upcoming competition I'm in. I'm able to access my site from inside my network, but I cannot outside my network. I've had several people try, and they all report that the server just times out. I'm running Ubuntu 10.04 and Apache 2.2.17
My site is at [URL]
Here is the output of ifconfig
Code:
eth0 Link encap:Ethernet HWaddr 00:26:22:50:0f:0a
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
[Code]....
View 4 Replies
View Related
Jul 30, 2010
I m using the pc as gateway....i have two NICs:1) 10.6.15.254 ---> for internal network 10.6.15.02) 10.6.0.115 -----> for out side world I can ping and ssh any out side machine but when i try to ping or ssh any machine in the 10.6.15.0 network it says host unreachable.... i can ping and ssh gateway i.e. 10.6.15.254 and 10.6.0.115 but not the client machine in the 10.6.15.0 network from out side world even i flush iptable rules i can not access any client machine i m using ubuntu 10.04 as operating system..
View 2 Replies
View Related
May 26, 2010
i have a problem........ How to redirect local http port to remote ip ddress(192.168.10.64) using iptables..my destro is Centos 5.3 my rule is this iptables -t nat -A PREROUTING -s 0/0 -d <my local ip> -p tcp --dport 80 -j DNAT --to-destination 192.168.10.64
View 1 Replies
View Related
Jul 27, 2011
I am a newbie trying to enable virtual hosting and run it on a local machine without fqdn. I checked the http://9.9.9.92/ (my IP address) site and saw my (default) page. I would like to virtuly host a asdf.com If virtualy hosting is setup properly - how do I access the new setup? Just type http://asdf.com ? or is there more to it?
View 6 Replies
View Related
Jul 18, 2010
I'm trying to setup iptables to send web (tcp?) traffic through Squid and Privoxy transparently (to save having to setup everything per browser and hoping they honor their settings). I know I have done this before but I can't find the old config nor remember the exact options needed to do this.What I am wanting specificially is for Privoxy to grab the data as it leaves the browser, do its thing then pass it on to Squid before sending it down the line, then doing the same incoming (Privoxy -> Squid -> requesting app).
View 1 Replies
View Related
Oct 31, 2009
I have two machines, one has XP service pack2, second one has CentOS 5.3 (Linux), they are connected through crossover cable. I have configured everything fine but don't know why till now can't ping!
A. Windows machine settings as follows:
IP Address: 192.168.1.3
Subnet Mask: 255.255.255.0
Default Gatway: 192.168.1.1
+ Firewall is turned OFF.
B. For Linux machine, I will list everything stored in network files, logged as [root@localhost ~]# :
1. /etc/sysconfig/network:
ifconfig eth0 192.168.1.4 netmask 255.255.255.0 up
route add -net 192.168.1.0 netmask 255.255.255.0 eth0
route add default gw 192.168.1.1 eth0
NETWORKING = yes
NETWORKING_IPV6=no
HOSTNAME=localhost.localdomain
2. /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
IPADDR="192.168.1.4"
NETMASK="255.255.255.0"
ONBOOT="yes"
BOOTPROTO="yes"
3. /etc/resolv.conf
nameserver 192.168.1.4
search locadomain
4. I restarted network service using this command:
/etc/init.d/network start
everything is fine. When checking using ifconfig command. I get the following:
eth0 Link encap: Ethernet HWaddr 00:08:0D:EE:19:66
inet addr:192.168.1.4 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr:........
[code]....
I mean I assigned the IP: 192.168.1.4 to Linux machine (Eth0). I did everything above and can't ping till now, when pinging from windows or Linux I get a message "destination host unreachable" restarted Linux many times but same result. NETWORK CABLE is working fine I tested it.
View 14 Replies
View Related
Dec 26, 2009
Is there any way to redirect a remote Linux machine mplayer output audio to local one?
View 2 Replies
View Related
Jul 9, 2011
I am trying to ping my Windows machine connected to an open network (I'm at a internet caf) from my linux VM (also connected to the same network with a usb adapter), but I'm obtaining this output:
# ping 10.23.47.12
PING 10.23.47.12 (10.23.47.12) 56(84) bytes of data.
From 10.128.128.1 icmp_seq=1 Packet filtered
From 10.128.128.1 icmp_seq=2 Packet filtered
With high probability host 10.128.128.1 is a firewall or some router with packet filtering mechanism; but I don't understand how it can be possible to implement this kind of solution, with what kind of software or hardware? I also tried a nmap scan to my Windows machine but it returns me scan results from another host(the firewall or the router I suppose):
nmap -sS -O -P0 10.23.47.12
Starting Nmap 5.51 ( http://nmap.org ) at 2011-07-09 15:46 CDT
Nmap scan report for 10.23.47.12
Host is up (0.097s latency).
All 1000 scanned ports on 10.23.47.12 are filtered
[Code]...
So my questions is, how is technically possible to implement this kind of restriction within hosts connected on the same network? It's the first time I see this kind of configuration.
View 1 Replies
View Related
Jun 16, 2009
I want to add more than one Virtual IP to my CentOS machine. I was able to add one ver easily by creating a file ifcfg-eth0:1 and editing the IPADDR field. But I cannot create more by creating a ifcfg:eth0:2, for example.
View 3 Replies
View Related
Sep 24, 2010
I'm setting up my server under CentOS 5.5 (text mode) and I installed cherokee server but I couldn't reach it with the ip given by ifconfig. So I figured it might be an problem within cherokee. I also wanted to install webmin so I did that to see if I could reach that one. But also the webmin server is not reachable (I know the port number should be behind the ip ). So if I look up ifconfig I see the server has got an local ip (192.168.1.42) but I can't reach it from another computer in the same local network.
View 1 Replies
View Related
Feb 12, 2011
Wondering if the internal network will benefit of connecting to a local DNS server, rather than my ISP dns server. Can I create this local DNS server, without having an external domain, pointing to my server ?
All I want is faster lookup of known hostnames, both internally (hostnames) and externaly (cnn.com etc..)
View 10 Replies
View Related
Jan 28, 2009
We are in the process for Integration Network with our Government Network.
Let say that our network are 192.168.0.0/24
And the Government network are 10.0.0.0/8
I want to know if the local network can resolve the internet names in Government Network. I am using Bind for DNS.
View 1 Replies
View Related
Jan 7, 2010
A lot of activity is happening on our local server and I want to know which port is getting the most used and which daemon is using the port. I think it will be some modification of netstat command.
View 1 Replies
View Related
Sep 7, 2010
explain about Apache fail over by using Heartbeat on CentOS 5. i tried it but it is not working.
View 3 Replies
View Related
Sep 28, 2009
I have installed the CentOS 5.3 on VMWare. Then I Have Installed Apache ,PHP , Mysql with the flowing Command :
yum install httpd
yum install php
yum install mysql
yum install mysql-server
yum install mysql-devel
yum install php-mysql
Then I tested my Web Server , Data Base server and PHP Whit Create A PHP Page that work to Mysql this Test is successfully. Next I ping my machine IP (192.168.6.131) and then Ping windows xp machine. Even I Ping My Linux machine in Windows XP. But when check the PHP Page Or Local host in Linux machine whit Browser (IE or FF in XP), Response (IE:) Cannot display the webpage or (FF:) The connection was reset.
View 3 Replies
View Related
Dec 20, 2010
I can access my Win 7 machine from my CentOS machine, but not the other way around.
View 13 Replies
View Related
Oct 7, 2009
I'm running wordpress and have gone to the painstaking effort of setting up the ftp server on my 5.3 machine so it can do its own updates and download plugins. However, I've found that if I try to download anything, I get a "unable to resolve host..." error from the script. If I watch Iptraf while making the request, I see all the port 53 requests going to 127.0.0.1. Pings are too.
However, if I ssh in, I can ping and wget and whatever I want all day long and all the DNS requests to go the router (Clarkconnect 3.2 gateway machine). The web browser in the terminal works fine too. What is it about the php scripts that is causing them to misdirect pings and dns requests? I've never seen anything like it and can't find anything on the web about it either.
[Code]....
View 2 Replies
View Related
Dec 26, 2009
we are going to install ASTERISK remotely, hence the port 22 in the server has to be open ,Can somebody reply me with exact commands?I tried these commands and got these results
Command : cat /etc/services | grep xxx
Result : No Such file or directory
Command :netstat -nan | grep 22
[code]....
View 4 Replies
View Related