Ubuntu :: Localhost Not Working With No Internet Access?

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


ADVERTISEMENT

Server :: Localhost Has Stopped Working / With Or Without Internet Connection Via An Ethernet Cable?

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

Ubuntu Networking :: Cannot Get WiFi Working - No Internet Access

Jul 11, 2011

Working with a Dell Inspiron 6000 and installed Ubuntu 10.10 just to get familiar with some form of Linux. The wireless card is Dell's 1470 and the chip on the card is labelled BCM4311 so that's what I went for. At first it showed an unconnected wired NIC and for wireless it said "no firmware", but now it doesn't say anything about either one of them, it says "no network devices available". I followed the instructions here [URL] for both "STA - No Internet Access" and "b43 - No Internet Access" and when it says to go to the additional drivers menu to enable the new driver, there's nothing on the list. I then tried [URL] that guide and [URL] that one. Don't say things like "just run a qf13 on the PCL so the ergotron bus will be cleared, it's probably a thermawhatsit in conflict with the meatloaf kernel" as I won't have a clue how to execute said instruction. More useful would be "open a terminal and type 'ireallyenjoynewcarpetting' then check if the output says 'blargh 010101' ".

View 9 Replies View Related

OpenSUSE Network :: Wlan Working, No Internet Access?

Jan 23, 2010

recently ran into a problem with my internet access. Im using open suse 11.2 on a Dell Vostro 1520 laptop. I managed to get my wlan running and i can use firefox to access my router. In my router the laptop is also showing as connnected, dhcp reserved an ip for it.However if i try to browse the internet, no page is loading, actually no software that needs access to the web is working.

View 3 Replies View Related

General :: PPPOE Server Access Internet Clients Fail To Access Internet

Aug 26, 2010

I have a linux box (fedora) with two ethernet cards eth1 and eth2. On eth1 I successfully configured a PPPOE internet connection. Such that from the server I can browse the internet. On eth2 I wired it to a wireless router essentially to provide the wireless cloud. On eth2 I also configured dhcp, such that the Linux box is both PPPOE and DHCP server.However my clients on the LAN cannot access the Internet.

On passing the routing command I get
Destination Gateway Iface
196.44.x.y 0.0.0.0 ppp0
192.168.1.0 0.0.0.0 eth2 (my subnet)
0.0.0.0 0.0.0.0 ppp0.

The router (functioning as a wireless access point mainly) has a fixed IP address of 192.168.1.2 and eth2 has IP address 192.168.1.1. The dhcp file running on Linux has been set with option router (Gateway) 192.168.1.1. I cannot figure out how to correctly set the routing table such that my clients on wireless can access the internet cloud. I googled and googled but no solid solution. Any suggestions?

View 3 Replies View Related

Ubuntu :: Cannot Access Phpmyadmin Through Localhost

Jul 7, 2011

I've just reinstalled XAMPP in my machine. Now, I can't get phpmyadmin to work. Before this was okay. But since I lost its password I need to reinstall it again. Now I got it reinstalled, another problem occured. When I enter localhost/phpmyadmin in my browser, it tells me to open the file with a program which is obviously something must be wrong during the installation or the system is screwed. Here's the screenshot:

Another problem is I can't get Apache and MySQL to run using the XAMPP wizard. But by using shell I can get it worked, but when I see the wizard, it just says stopped. What's wrong? Although I have pressed Execute it still can't be run.

From terminal:
Code:
me@me-laptop:~$ sudo /opt/lampp/lampp start
[sudo] password for me:
Starting XAMPP for Linux 1.7.4...
XAMPP: Another web server daemon is already running.
XAMPP: Another MySQL daemon is already running.
XAMPP: XAMPP-ProFTPD is already running.
XAMPP for Linux started.

View 2 Replies View Related

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 View Related

Ubuntu Networking :: Access Web Server On Localhost?

May 27, 2010

I have a laptop with Apache, MySQL, PHP, etc, and I'm able to work on web programming on my local server while at home, connected to my network. But I would like to be able to work on the local websites when I'm not connected to any networks, both for demonstrating a site, or simply working on it.

I was surprised to find that I could not connect to localhost at all without a network connection. I tried my normal Google for a solution, but, of course, that was futile without a network.

Now, I'm at home, and of course, it works because I have wireless. I don't really want to disconnect that to figure it out, so I thought maybe some nice soul here might know how to do this. Surely it can't be hard, can it? But, it's certainly not obvious.

View 3 Replies View Related

Red Hat :: Unable To Access Localhost On 22

May 25, 2011

I am not able to access my system on 22 port:

$ telnet localhost 22
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused

When I try to start sshd service it shows command not found:
# /etc/init.d/sshd start
Starting sshd:/bin/bash: sshd: command not found

[Code].....

View 14 Replies View Related

Ubuntu Security :: Undesired Access Attempt To Localhost

Jun 29, 2011

While investigating my localhost access logs during an investigation to resolve locking myself out of my own server(!) I noticed this recent access attempt from a proxy referrer. I wouldn't expect this on a local server - currently set to listen on 127.0.01. The request was 403 forbidden, but surely the request should not have even reached this far? Is this an example of an unauthorised access attempt? I don't think it is me because all of my usual access requests are in moz 5 and im logged in to linux currently.

Note please do not click this link as I do not know where it leads ^^^^! (and i dont know how to disable it on this forum)

View 8 Replies View Related

Server :: Allow Access To Mysqld From Localhost?

Sep 21, 2010

I need to test an application on a Ubuntu Server that works as a database server for the network.

On this server's /etc/mysql/my.cnf, I have:

Code:
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
bind-address = <server-ip-address>

This means that I can't access the mysql server from 127.0.0.1, right?

I tried adding the following entry to /etc/hosts.allow :

Code:
mysqld : 127.0.0.1 : allow

I feel like I need to restart the service that reads /etc/hosts.allow, is this approach correct?

Or on /etc/mysql/my.cnf I can have two (or more) bind-addresses entries?

View 5 Replies View Related

Ubuntu Servers :: Apache2: Localhost Responds Only When Connected To Internet?

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

Ubuntu Servers :: Apache From Localhost Can't Reach Internet / Resolve This?

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

Ubuntu Installation :: Create .php Pages So Can Access Them Using Http://localhost

Jun 16, 2011

I already installed apache 2 & php 5 .. but I don't know where I create .php pages so I can access them using http://localhost

View 4 Replies View Related

Server :: Exchanging Data Between Internet And Localhost

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

Fedora Servers :: Squirrelmail: Can't Access Localhost

Jun 1, 2010

I'm running Fedora 12 on x86_64. I've installed squirrelmail, along with dovecot on my office server, and cannot access it through http://localhost/webmail. I have followed all the configuration steps I could find (including http://www.server-world.info/en/note...12&p=httpd&f=7).

I know that everything else is working (I can send and receive mail, access IMAP mailboxes, webserver is working), browsing to

http://localhost/webmail

just gives me

"Problem loading page"

in Firefox. Sometimes, however the message is "Unable to connect."

I will add that I already tried installing Squirrelmail on another (i686) machine and had exactly the same problem.

/var/log/httpd/error_log says:

File does not exist: /var/www/html/squirrelmail

This makes it seem like aliasing is not working somehow.

View 3 Replies View Related

Ubuntu Servers :: Setup A Localhost In System - Phpmyadmin Access Not Granted

Jul 3, 2011

i setup a localhost in my system. but am not getting access to the phpmyadmin by entering the user name and password i entered at the time of set up. the /etc/phpmyadmin/config-db.php file is shown below.

<?php
##
## database access settings in php format
## automatically generated from /etc/dbconfig-common/phpmyadmin.conf
## by /usr/sbin/dbconfig-generate-include

[code]....

when i access http://localhost/phpmyadmin/ , the login screen appears but entering the username and password as in the file gives the error #1405 cannot log into mysql server.

View 3 Replies View Related

Server :: Access Denied For User 'root'@'localhost'?

Dec 14, 2010

ubuntu terminal. I have installed mysql-server, but i have no access. I have set the password during installation process.

Used command:
mysql -u root -p
error message:

[code]....

View 3 Replies View Related

Server :: Httpd2.2.15 Access To Localhost Test Page ?

Jun 13, 2010

Can't access localhost test page, but opens localhost page when I use full dns, at least from local network machines?

Running slackware13.1, Httpd2.2.15, 2wire gateway. Firewall web&http pinholes for ports 80,443. Port 80 is working.

Code:

Returns error:

Quote:

Code:

Code:

Added 4400host.net to Resolve DNS on 2Wire Gateway(Never had to do this before to access httpd test from same machine or network machine?

Changed HTTPD.conf

Code:

Code:

Quote:

"It Works!"

Never encountered this before, usually httpd test worked for "localhost" with minimal effort. I am concerned to procceed with this odd behavior. Has anyone else encountered this configuration is?

View 5 Replies View Related

CentOS 5 :: Access Denied For User 'root'@'localhost'

Jan 27, 2009

I followed this tutorial for setting up my server. Whatever I type into mysql or mysqladmin all I get back is Quote:ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

View 1 Replies View Related

Fedora Servers :: Access Localhost Through Browser After Installing PhpMyadmin

Jan 30, 2010

i have fedora 11 installed in my laptop and apache server by default. after starting httpd and mysqld services i was able to access localhost through browser.(e.g. [URL]). before installing phpMyAdmin everything goes right. after installing phpMyAdmin it created problem in localhost. now typing [URL] it opens joomla site but without images and without intending of content. when i type [URL] in browser it ask for user name and password. i already provide user name(root) and password(my_root_password) in /etc/phpMyAdmin/config.inc.php. but it doesnt open.

View 1 Replies View Related

Server :: Changed Root User Access For MySQL To Any From Localhost?

Mar 14, 2011

I did something silly and changed my root user access for mysql access to Any from localhost using webmin. I get an access dented when i try to open up the mysql editing page on webmin. Can any of you tell me if there is a way to change it back to hosts=localhost I am using webmin 1.5.30 on Centos 5.5. I am hoping I can change it by command line or if I can access the config files and change it that way?

View 2 Replies View Related

Slackware :: Localhost Not Working In 13.1?

Jan 30, 2011

I just setup a dual boot on my laptop with Windows 7 and Slackware 13.1

I've been using Slax for one of my web programming classes and I got tired of booting from a live CD all the time so I decided to just use Slackware. When I try and connect to the localhost page, I get a cannot connect error page. Why?

View 4 Replies View Related

Ubuntu Servers :: Access Denied For User 'root'@'localhost' / Set The Password During Installation Process?

Dec 14, 2010

I have installed mysql-server, but i have no access. I have set the password during installation process.

Used command:
mysql -u root -p
error message:

[code]....

View 8 Replies View Related

Fedora Servers :: Localhost Httpd Server Doesnt Have Internet Connection

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

Fedora Installation :: Unable To Access Localhost On Webbrowser After Installing LAMP?

May 1, 2009

I did everything and restarted my machine, everything seems to be ok. But when i type in my IP on the browser which is 10.0.11.25 which would be the localhost machine, i get this below:

Code:

ERROR The requested URL could not be retrieved

While trying to retrieve the URL: [URL] The following error was encountered:

* Connection to 10.0.11.25 Failed

The system returned:

(113) No route to host

The remote host or network may be down. Please try the request again.

View 2 Replies View Related

Fedora :: Apache Install - Access Index.php On Localhost - Permission Denied

Jan 19, 2011

I've just upgraded my laptop to Fedora 14 and installed LAMP on it for a test environment. I've followed the official instructions to install but seem to have a problem that I didn't have on F13 or Opensuse. Each time I try to access index.php on localhost I get a permission denied message and an SElinux alert. I have tried 7 different solutions on various forums and just can't view anything in a browser.

/var/www/html has been set to chmod 777
/var/www/html/index.php has also been set to chmod 777

A standard user can definitely read and write to the above files/folder. Until I commented it out the Welcome/Test page was working perfectly.

View 5 Replies View Related

OpenSUSE Multimedia :: Access Denied For User 'root'@'localhost' (using Password: NO)?

Mar 13, 2010

I am pulling my hair out once again after trying for over 15 months off and on to get a tv tuner working under linux. I have just received my new tuner card which I thought was supposed to be easy to run, a HVR-950Q, no luck yet. But first I am trying to use something called mysql (new to me), for mythtv and [I] keep getting

# mysqladmin -u root password ma
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)

View 9 Replies View Related

Software :: Error: 'Access Denied For User 'myusername'@'localhost' (using Password: NO)'

Nov 6, 2009

I can log in Mysql database successfully using

Code:

mysql -u myusername -p mypassword

Now, I need to execute GRANT PRIVILEGES. But, when I try to execute

Code:

mysqladmin -u myusername password mypassword

the below error occured

mysqladmin: connect to server at 'localhost' failed

error: 'Access denied for user 'myusername'@'localhost' (using password: NO)'

View 4 Replies View Related

General :: Telnet Not Working For Localhost?

Apr 14, 2011

I've tried searching for this peculiar behavior, but couldn't find a solution that works for it - I have installed Redhat on my system and have a listener running on port 7878. I wanted to check if the port is accessible from a machine on the network, and so i telnet-ed from a remote machine and it worked. Now comes the weird problem - I used the same command (telnet xxx.xxx.xxx.xxx 7878) locally and it was able to telnet. However, if I try to connect using localhost, meaning, "telnet localhost 7878" or "telnet 127.0.0.1 7878", it gives me the following error:

Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused

Here is my /etc/hosts entry:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6

[Code]....

Not sure where the problem is. I expect telnet to connect irrespective of whether i use the IP address OR localhost when i use telnet locally.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved