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


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:

# 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, right?

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

mysqld : : 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

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:


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.


Returns error:




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




"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

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

Ubuntu Servers :: Setup The MYSQL Server - Error: 'Access Denied For User 'root'@'localhost' (using Password: NO)'

Mar 26, 2010

I set up a servber on my local machine, & also PHp - Both working fine.I'm trying to load up MYSQL i have installed it, & *can* start/stop the server. however if I do anything else with it, I get this error :-


root@gordon-desktop:~# sudo mysqladmin -u root -h localhost password MYPASSWORD
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'

Query :-

1) How do I know MYSQL is actually active ? (apart from the message it says that its statrted (or stopped).

2) Is there a way to

a) Find out the usernames that are recorded on the MYSQL server ?
b) set / RESET the 'root' username (I know MYSQL root user is different to PC root user)
c) anything else I can do on the PHP / website code to see if MYSQL is working

(as yet, no tables / databases etc have been set up - as I can't get past this error message - I get the same error when setting up a database.)

Ps I did allow my usermname (when logged in to ubuntu) to edit / create files in the /usr/www/ directory (but it is still OWNED by 'root' - that directory)

View 4 Replies View Related

Ubuntu Networking :: Setting Up A Localhost-only Squid Server

Jul 16, 2011

I'm going to be going off to college in the fall and the internet probably won't be blazing fast like it is at home, so I was wanting to set my desktop up so that it would act as a local cache of the parts of the internet i frequent the most, but I can't find anything like that. All the tutorials I've found are either for sharing the load on a server or for setting up a separate machine as the squid.

View 3 Replies View Related

Ubuntu Networking :: Configure Postfix As Localhost Smtp Server And Send Email?

May 25, 2010

I'm trying to set up a basic smtp server on my local computer that I can send basic, unencrypted email through on port 25. I installed postfix, and I chose the following options:

Internet Site,
System Mail Name: localhost
Root and postmaster mail recipient: I left this blank
For other domains to accept mail, I entered : NONE, localhost
No force synchronous mail updates
Local networks:


View 2 Replies View Related

Networking :: WebMail I.e. Squirrelmail Setup / Error Connecting To IMAP Server: Localhost?

Apr 11, 2010

To configure webmail in linux5, I�ve followed below procedures:

-Squirrelmail-1.4.2.tar.gz and unzipped under the folder /var/www/html
-cd squirrelmail-1.4.2
-cd config
-within this directory, ./conf.pl
-From main menu, I did choose 2 for domain (i.e. arafapparels.com). This is my official domain
-Then save and exit
-For IMAP setting, I did choose D
-Selected uw and save, then exit
-Then from command line, I wrote chown �R apache.apache /var/www/html/data (I created folder data in the above path)
-I created a folder named as attach to keep attachment in /var/www/html i.e. /var/www/html/attach
-Then typed grep �R apache /var/www/html/attach
-Then typed chmod 730 /var/www/html/mail/attach (Here squirrelmail-1.4.2 directory has been moved to mail directory)
-Then from web browser/Internet explorer, I typed http://localhost/mail/
-Here Username & Password appears. Previously I have created username.
-But when put Username & Password, below error message displays

Error connecting to IMAP server: localhost
13: Permission denied
But I gave permission by chmod 777 /var/www/html/mail and by using 555 but no result.

View 2 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:
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 :: 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 the same way.

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
telnet: connect to address 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


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

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

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


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

Networking :: Unable To See Shares On Samba Server - No Authentication Access Desired (open Access)

Jun 12, 2009

I've been running a Samba server under RedHat 8 for five years without a hiccup. I want to cut over to a F10 box but cannot get shares accessible. smbclient attempts fail over NT password error. SELinux is disabled. Server is visible on the network. Users require no password access to shared data.

smb.conf follows:

# Samba config file created using SWAT
# from UNKNOWN (>)
# Date: 2009/06/12 14:15:15


View 1 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.

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


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

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

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:


View 8 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 which would be the localhost machine, i get this below:


ERROR The requested URL could not be retrieved

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

* Connection to 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


mysql -u myusername -p mypassword

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


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

Software :: ERROR 1045 (28000): Access Denied For User 'root'@'localhost' (using Password: YES)

Feb 13, 2011

for some reason root lost grant privileges and I can't get it back. The user got grant_priv = 'Y' in the usertable. I've tried to reset all the priviliges to the user by killing MySQL process and started up again without grant options with no luck. I've also tried lots of other things but can't seem to get it work. Here is what I get: Quote:

[root@xxxxxxxxx mysqldba]# mysql -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 2
Server version: 5.0.77 Source distribution


View 7 Replies View Related

OpenSUSE Network :: ERROR 1044 (42000): Access Denied For User ''@'localhost' To Database 'mysql'

Nov 9, 2010

I think I screwed up my Administrative username in mysql.

mysql -u root mysql
ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql'

Can I just copy all the files in /var/lib/mysql >>reinstall MySQL >> copy all the old folders into the new /var/lib/mysql ( while MySql is off)

View 9 Replies View Related

Ubuntu :: Firefox Can't / Server At Localhost

Jan 4, 2010

I have two machines running Ubuntu 9.1, both with Firefox 3.5 fitted, working well, apart from an error on one machine.When trying to download a Torrent I get the error "Firefox can't establish a connection at the server at localhost: 12322".The other machine is fine without this error.I have searched the Firefox files and this forum, plus a variety of sources but cannot find an answer, apart from "use the other machine".

View 4 Replies View Related

Server :: Setting Up Local Server Using Localhost?

Mar 18, 2010

I have a need to set up the program TNG - The Next Generation of Genealogy Sitebuilding and run it on a local server (not on the Internet) for the purpose of learning the system prior to developing it on an actual website. I was told to use http://localhost on my browser (Mozilla Firefox). I get a message saying "That Works!", but it goes on to say that the contents of the web server have not yet been entered. The instructions for the downloaded files (which I unzipped) said to copy to the web root folder (the folder where the web server is located ?, I guess). But I don't know where it is or how to go about it. Can someone help? I already have MySQL and PHP, which are required to run this program, and I also have Apache installed on my Kubuntu 9.10 system.

View 1 Replies View Related

Server :: How To Set The Localhost And Localdomain

Mar 17, 2011

I cannot seem to figure out where my system is pulling its localhost.localdomain setting from. OS is;


[root@system root]# cat /etc/issue.net
Red Hat Enterprise Linux ES release 3 (Taroon Update 3)
Kernel on an m Network file is;


[root@system root]# cat /etc/sysconfig/network


[root@system root]# hostname
[root@system root]# hostname -d
[root@system root]# hostname -f
[root@system root]#

how to set the localhost and localdomain?

For the time being, the localhost is somehow being set correctly, but the localdomain is incorrect.

View 1 Replies View Related

Ubuntu Networking :: PVM Cannot Add Localhost 9.10?

Feb 9, 2010

PVM 3.4.6 cannot add localhost. It says it can't find pvmd3, but why is it even looking for that when that is not part of the installation?

View 2 Replies View Related

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