Ubuntu :: Apache2 Localhost Not Available When No Internet Connection
Jun 12, 2010
I am running the version 10.4. As I am learning mySQL and PHP, I installed Apache2, mySQL and PHP, as discribed in this link. The problem is I have to have any sort of Network, either LAN, WiFi or Mobile Broadband to access my localhost. When I am connected to internet, my local host works fine, without any problem, but as soon as I get disconnected from internet, localhost is not available. I have googled a lot, but could not find a solution.
View 5 Replies
ADVERTISEMENT
May 12, 2010
I am on Ubuntu 10.04 LTS. Installed LAMP yesterday using:
Code:
sudo tasksel install lamp-server
Tested Apache, PHP, MySQL then, all worked fine.
[code]....
View 1 Replies
View Related
Jan 5, 2010
i have installed apache and php in my fedora 11 system and httpd works fine except that it doesnt have internet connection for example rapileech doesnt work it says "cannot connect via port 80" and if i put an rss feed collector in a website it doesnt work but everything else works fine , also when i put the same file in a shared web host it works fine
View 3 Replies
View Related
Apr 2, 2010
I have been using my laptop as a development machine for a few months now, developing php/mysql applications, and testing them offline via the same laptop by pointing the browser to url.
But a few days ago, my url stopped working and I discovered that it will now only work if I have an active internet connection plugged in. Why has this happened and how to I fix my test server so localhost works with or without an internet connection via an ethernet cable.
View 2 Replies
View Related
Mar 16, 2009
1. I use a cable modem with a specific IP address & a router with port 80 forwarded to my home Linux development machine. From outside my house (e. g., from my office), I can connect no problem.
2. My home development machine is IP 192.168.1.20- if I use this address in the browser (on the home development machine) it connects. However, on the same machine, neither localhost nor 127.0.0.1 connect.
Nothing shows up in the regular log (even with logging set to "debug"), but this shows up in the error log for both localhost and 127.0.0.1:
Quote:
[Mon Mar 16 19:05:28 2009] [error] [client 127.0.0.1] File does not exist: /htdocs
This is particularly odd, since I have NO reference to htdocs in any of my configuration files. I have grep'd all over the place, and the only reference that shows up is in the apache2 binary. When I do 192.168.1.20, I get this in the error log:
Quote:
[Mon Mar 16 19:10:24 2009] [error] [client 192.168.1.20] File does not exist: /var/www/localhost/scripts, referer: http://192.168.1.20/
Which should be OK, because in this initial, very immature test environment, I don't have the /scripts directory defined; I don't think it has anything to do with my problem. I get the web page. My sites-enabled/000-default (appropriately linked per convention to a file in sites-available) has been completely stripped down. I have exactly the same situation with the default sites-* file. Here's the minimal version:
Code:
NameVirtualHost *
<VirtualHost *>
ServerName localhost
DocumentRoot /var/www/localhost
[code]....
View 14 Replies
View Related
Mar 31, 2010
I've just moved on to 10.04 from 9.10. The program worked fine in 9.10. I *may* have overwritteen a conf file in the upgrade...
I now get the error as below:
My userdir.conf is like this:
<IfModule mod_userdir.c>
UserDir public_html
UserDir disabled root
<Directory /home/*/public_html>
[Code]....
and I have the PHP5 module installed. I vaguely recall that I may have had PHP4 installed - would the upgrade have removed it? Is there anywhere I can get it from to try? Anything else to do?
View 9 Replies
View Related
Mar 14, 2010
a while ago, Network manager kept on messing around and disconnecting me etc. I attempted to setup a static network (wired) and since then, everything worked fine. I also have apache running and have had no problems with that. I know there were some apache auto updates this week but I have been doing no dev work. I went to check out one of my local sites to do some work yesterday and there was just nothing happening.
I checked everything with apache, it is all running etc. I have stripped back the conf files to be clean and fresh and netstat is showing apache as listening on 127.0.0.1:80 as it should for a single default site that I have on there now. BUT if I try to ping localhost by name or by 127.0.0.1 I am getting "Destination Port Unreachable" Since I have been trying to fix this, I have been trawling the internet to try and clean up my network setup from scratch (I have also had problems with https sites that has turned up to be the MTU setting on my eth0 interface) but to be honest I am not sure exactly what should be set between ifconfig, route, netstat and apache. should I be able to ping localhost independantly of running apache2 (i.e if it is stopped) or would a successful ping rely on apache working correctly.
View 6 Replies
View Related
Jan 9, 2011
I am running Ubuntu 10.10, and I would like to use my computer to share the internet connection from an ethernet port. For example, I would like to set up my computer as a wireless access point so I can create a network that other computers can connect to for internet.
View 3 Replies
View Related
Aug 18, 2010
I recently installed Ubuntu (normal version) on to my netbook (Samsung N140) and I'm sharing my wireless connection over ethernet to my desktop using the method outlined in the Ubuntu wiki on ICS.
However, I do Ruby on Rails development, so run a local server on the netbook. I found out yesterday while working remotely that I cannot access 'localhost:3000' while I have no internet connection, and I get an error about 'sendmsg: operation not permitted' if I try to ping localhost. Likewise, I cannot access 127.0.0.1 the same way.
View 3 Replies
View Related
Mar 23, 2010
I followed the tutorial found here [URL] but when I try to access [URL] I get the following:
Code:
Secure Connection Failed
An error occurred during a connection to www.mydomain.com.
SSL received a record that exceeded the maximum permissible length.
(Error code: ssl_error_rx_record_too_long)
Not sure what I might have done wrong... I have retraced all of my steps and I don't believe I missed anything.
View 2 Replies
View Related
Oct 3, 2010
I have a machine installed Red Hat Linux 8.I have installed xampp-linux-1.7.3a.tar. I've finished installing lampp start.But it still does not understand why when I use the website notice:"connection was refused when attempting to contact localhost".
View 4 Replies
View Related
Feb 3, 2010
I installed required updates on my linux installation (ubuntu 9.4) I am now unable to access my localhost, and get the following message from my browser: Failed to Connect Firefox can't establish a connection to the server at localhost. Though the site seems valid, the browser was unable to establish a connection. I checked my hosts file which has the following information:
[Code]....
View 6 Replies
View Related
Nov 3, 2010
I've installed apache application server v7.I get a problem when I type the command localhost:8080
Unable to connect Firefox can't establish a connection to the server at localhost.
# ps ax |grep tomcat
9463 pts/2 S+ 0:00 grep tomcat
View 3 Replies
View Related
Sep 24, 2011
Just setup my postfix and trying to telnet localhost.
here it is..
telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
I wanna paste my /var/log/maillog but i don't know how, when i copy from putty screen it's only copied part of the log.
btw i found one similar problem here [URL] but the thread starter already lost the pastebin so i don't know how he resolved the problems.
View 2 Replies
View Related
Jul 11, 2011
I've installed apache2 on ubuntu 10.04 and everything works fine, but when I use functions that needs to connect to Internet, it doesn't work. Is there a simple setup I've forgot? I've been searching and looking for a solution, but I'm stuck!
View 9 Replies
View Related
Jun 5, 2011
I have an Apache 2 server setup in Ubuntu 10.04 LTS on my lab computer. The server listens on port 80, by default. I also have another process listening on port 4000 - this is a special server that executes some Matlab and other application scripts. However, due to university policy (or some licensing/faculty regulation - not really sure), this port 4000 has been set as one that listens only to the localhost. Now, we need to allow a few of the scripts to be run by people remotely.
We tried to setup a web interface - they enter a few values into a HTML form and submit. This form has action="URl... (basically, we were hoping the external form turns data over to the internal form), thereby keeping everyone happy. However, it turns out that this didn't work - the server on port 4000 realizes that the request isn't internal.
What would be the best way of handling it? While we did consider port forwarding, we didn't want everything to be accessible from the internet - i.e. we wanted a tightly controlled interface when accessed from outside, but if someone writes a program on localhost, we want everything to go through as normal (i.e. the current setup). Is there a way to do this without duplication (i.e. setup a new port 5000, that has only the components we want the external users to access)?
View 2 Replies
View Related
Feb 25, 2011
I got everything working except any localhost connections from within the server. I've tried to connect using localhost, 127.0.0.1, and dedicated IP from within the server and several CMS sites I have moved over to the server and all the local host connections fail.
View 9 Replies
View Related
Feb 10, 2010
I am running centos 5.4, kernel 2.6.18. Also running httpd (apache2) as a reverse proxy with the following modules
mod_ssl
mod_cache
mod_proxy_*
Recently after updating these modules:
mod_ssl x86_64 1:2.2.3-31.el5.centos.2
httpd x86_64 2.2.3-31.el5.centos.2
distcache x86_64 1.4.5-14.1
I am getting wierd errors in the error logs:
[Wed Feb 10 15:44:18 2010] [error] (103)Software caused connection abort: cache: error returned while trying to return disk cached data
[Wed Feb 10 15:44:45 2010] [error] (103)Software caused connection abort: cache: error returned while trying to return disk cached data
[Wed Feb 10 15:44:48 2010] [error] (103)Software caused connection abort: cache: error returned while trying to return disk cached data .....
View 1 Replies
View Related
Jan 24, 2010
Its a case of ".... wireless network connection active but still not internet connection .."I am using WEP - 128 key ... Works when I connect directly using ethernet cable ... but not wireless (pci and wireless router)
ubuadmin@ubucomputer:~$ ifconfig
wlan0 Link encap:Ethernet HWaddr 00:06:25:12:83:3b
inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::206:25ff:fe12:833b/64 Scope:Link[code].....
View 5 Replies
View Related
Jan 26, 2010
It is most certainly my fault but I am now without a sound volume control and it does not show up in the add to panel.What can I do here? Does your icon have code that that I can use or can I find the file somewhere and create a link? Alsa mixer works ok and nothing is muted and I have sound so as to play music. The Internet connection and the power connection icons also don't appear.
View 5 Replies
View Related
Jun 4, 2010
After upgrading to Ubuntu 10.04, I'm not able to make any connection to the internet with either my netbook through WiFi or my computer on wired LAN. I can, however, ping my Solaris machines and Macbook. How do I fix this?
View 9 Replies
View Related
Oct 21, 2010
I tried to install Xubuntu 10.10 Maverick as dual boot on my laptop. However when xubuntu is on, I can't find a way to connect to internet. When I try the 2 arrows on the up-right corner the option for wireless is deemed. I tried offline/online, that did not work either. when I click the firefox It says you are not connected.
View 1 Replies
View Related
May 1, 2011
I seem to have is trying to get the internet to work. I can go to ..... ect but when I try to run playonlinux it says you do not seem to be connected to the internet, please post if you have anything useful, as I said I am very new to linux so be as detailed as possible.
View 4 Replies
View Related
Apr 15, 2011
1 linksys router: gets the net from PPPOE and give the network DHCP. The router IP is 192.168.1.1. 1 windows laptop that work wireless and wired. 1 debian desktop that work wired and not working wireless. THe problem with the debian desktop is like this: I have a TP-Link TL-WN321G installed and found by lsusb command. I make a wireless connection WPA Personal (just like the router settings) it says i am connected to the wl network but no internet connection. the route command give me this:
[code]....
I tryed with wicd who said that the connection is WEP (and it's not, it is setup to WPA on the router and the network-manager conncetion) and when i try to connect i get bad password. I tryed with network-manager uninstalled and no chance.
View 4 Replies
View Related
Jun 25, 2010
I would like to have all traffic from the ethernet connection out through the wireless (basically using the box as a router) however I am having some trouble doing this.
I have done this before on Windows however I am having some trouble doing this on linux, I have tried using Squid Proxy however I am having some trouble using configuring/using it.
I am using Yellow Dog Linux however I am willing to change to any other distro as long as it is compatable with PS3 (as this is what im using linux on)
View 14 Replies
View Related
Jun 21, 2009
I have installed Fedora 11 recently. I want to share my Internet connection.
I have e LAN connection eth0 which is connected to internet.
I have a Wireless connection wlan0.
I want to share my internet connection with wireless connection.
View 3 Replies
View Related
Feb 4, 2010
I have two linux laptops. Currently, I'm using both of them at work, side-by-side. Now the problem is, I'm connected to a wireless router, but the wireless only works on one of the laptops. So I'm stuck with one laptop that has no access to the internet. Both machines do, however, have working ethernet nic cards. So, I was wondering if I could use the laptop with the wireless connection to share the internet connection with my other linux machine and access the internet on both of them. Or as an alternative, just use the internet on the machine without wireless and be able to switch back and forth, that would increase my productivity like 30 fold.
View 5 Replies
View Related
Nov 19, 2010
I have suse10 64 bit installed. I am setting up a svn server on it. After installation and adding the modules ,while reloading the apache2 it's throwing the error as: HTML Code: httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server
View 9 Replies
View Related
Dec 9, 2009
I am getting this error
Starting web server: apache2[Wed Dec 09 15:36:40 2009] [warn] NameVirtualHost XX.XX.XX.XXX:80 has no VirtualHosts(99)Cannot assign requested address: make_sock: could not bind to address 68.178.232.100:80
no listening sockets available, shutting down Unable to open logs failed!
also what is 68.178.232.100
View 1 Replies
View Related
Jul 5, 2011
OpenSuse 11.4 Asus Netbook 1000H Following other members in the forums I have installed Opensuse 11.4 on the Netbook. In the early days Ubuntu Netbook Remix worked well for me. But this has been discarded, and the "one size fits all" Ubuntu had become slow and cumbersome. So..... onto my post. Opensuse is working well. The install went beautifully.
It detected the Wireless Internet and I am able to get on line. I also need to share the Internet connection to a desktop. This is done via a small network switch. Thus far I cannot do this. I tried to use ifup to configure a static ip but this busted my Wireless configuration. I went back to knetwork manager. Then I tried to set up the wired network using knetwork manager and under IPV4 "share" the connection. But this blanks out any possiblity of a static address and substitutes dhcp. My desktop cannot ping the this dhcp address. Ubuntu had this thing called Firestarter? - from memory. This configured the system to sharing the network.
View 7 Replies
View Related