Localhost is an address/term used for testing connection to the local host (current computer) used for some network troubleshooting

learn more… | top users | synonyms

0
votes
2answers
295 views

HOSTS ignored when disconnected [closed]

Problem I’m seeing a strange and extremely frustrating problem. Any system that is not connect to the Internet (Windows 7 shows the no Internet access icon because it cannot constantly ping ...
-5
votes
2answers
96 views

Accessing localhost from another system [closed]

Every answer I've found about this is too generic and assumes both systems are unix-like. I have localhost set up on my computer (Ubuntu) and I was wondering what I need to do to access it from my ...
1
vote
0answers
325 views

vhost working but not finding index.php

Its my first time that i have a vserver with plesk - i always deleted plesk and worked without it because i didnt liked it but now i try with and it doesnt work as i want it. installed magento here: ...
0
votes
2answers
301 views

Iptables allow only localhost and gmail

I use this in iptables: (want to allow 25 port only for localhost) iptables -A INPUT -p tcp -s localhost --dport 25 -j ACCEPT iptables -A INPUT -p tcp --dport 25 -j DROP It works perfect, but I ...
-1
votes
2answers
76 views

howto serve different local index page with multiple virtualhosts [closed]

Objective: do http://test.local and get the index from testsite, do http://l4.dev and serve the index from lara4. What I don't want is the first index from the virtual host listing it can find How ...
1
vote
1answer
3k views

ssh localhost exits with “debug1: Exit status -1 ”

I am trying to setup ssh and ssh to localhost on Cygwin, but I am getting the following error. Any suggestions will be appreciated: $ ssh -v localhost OpenSSH_6.0p1, OpenSSL 1.0.1c 10 May 2012 ...
-3
votes
1answer
99 views

What are the drawback if I use 127.0.0.1 instead of 127.0.1.1 in my host file?

Ubuntu default host file is something like 127.0.0.1 localhost 127.0.1.1 myhostname Will there be any drawback if I change to: 127.0.0.1 localhost myhostname
-1
votes
3answers
66 views

Root access issue from localhost [closed]

I have a strange root access issue - I'm able to login as root via SSH but I'm not able login to the physical machine via terminal. Some more info: - running CentOS 6.4 - password authentication ...
0
votes
4answers
2k views

Windows 7 resolve localhost name with ipv6 instead of ipv4 [duplicate]

When I ping localhost I can see that localhost name is resolved as :::1 instead of 127.0.0.1. Do you know how to solve this? I need a ipv4 resolution of localhost for Tomcat server. I could quickly ...
0
votes
1answer
70 views

Subdomain on local machine using apache

On my local network, I have a server that goes by the name of telly, and can be connected with locally on http://telly. I am trying to set up a subdomain on that machine, say sub. I have added a ...
-3
votes
2answers
2k views

Apache2 : Xampp is not running

I have apache2 and Xampp both installed in my server now my problem is When i stop apache2 from /etc/init.d/apache2 stop and tried restart xampp like /opt/lampp/lampp restart i am getting the ...
0
votes
2answers
5k views

How to access localhost with an internal IP address when outside of network [closed]

I have my development environment on my local system with XAMPP(Windows 7). During dev. work I use my system's IP address (i.e 192.168.XX.XXX of Internal Network) when I am inside the network, it ...
-5
votes
3answers
510 views

How can I locally broadcast a domain name? [on hold]

So if I edit my /etc/hosts file, I can access localhost as a domain name such as myapp.dev or whatever. Is there any way I can broadcast this domain so that others who are on the same wifi network ...
0
votes
1answer
47 views

LAMP not working after php.ini change (even if resetted)

My LAMP machine on Ubuntu 12.04 was working fine, then I tried to modify the etc/php5/apache2/php.ini file opening nautilus through the terminal with sudo nautilus. I have edited this line: ...
0
votes
3answers
1k views

XAMPP apache localhost - browsers point to the wrong port even after I changed Listen port back to 80

Running Windows 7. Got a weird problem - I used to use port 8080 for my apache on XAMPP as somehow I couldn't get it to work on 80. I did that by changing the Listen port of ...
0
votes
1answer
111 views

server localhost to get access to /admin/* pages and block all others

Requirements: every one in the local network can access all pages except /admin pages. only localhost should have access to the /admin pages. how to write webfilter for tomcat 6 or other ...
1
vote
1answer
334 views

How to add a CNAME for localhost in BIND 9?

I am doing web development and host the local versions of sites on my machine. I have Linux Slackware 14.0 with BIND 9.9.1-P3. In my named.conf I have this: zone "localhost" IN { type master; ...
0
votes
2answers
364 views

Error message: Host 'server1.MY_DOMAIN.TLD' is not allowed to connect to this MySQL server

I have a web and mail server running Ubuntu 12.04. I installed iRedMail and had it running fine, but this morning mail was not connecting and none of my sites worked. I checked some logs which told me ...
0
votes
4answers
3k views

.htaccess working on remote server but does not work on localhost. Getting 404 errors on localhost

MY PROBLEM: When I visit localhost the site does not work. It shows some text from the site but it seems the server can not locate any other files. Here is a snippet of the errors from firebug: ...
0
votes
2answers
900 views

How can I remove trailing slash with .htaccess on localhost with UniServer [duplicate]

I want to remove the last trailing slash of a URL. For example: I want to http://localhost/mysite/page/ rewrite to http://localhost/mysite/page. I'm using this code on my localhost .htaccess. ...
-2
votes
1answer
51 views

Can't acces localhost through http://localhost/ on tomcat

I am having trouble accessing localhost through http://localhost and http://127.0.0.1 But i can access both when i use https. https://localhost Why do you think this is? The web server is ...
13
votes
4answers
24k views

Is there a way to get wireshark to capture packets sent from/to localhost on Windows?

Is there a way to get wireshark to capture packets sent from/to localhost? When I monitor traffic going from my computer to another, or from another computer to my computer, then it works. But ...
2
votes
2answers
319 views

When using netstat on a listening port what is the difference between localhost:6666 and [::]:6666 in 'Local Address' field

Using ubuntu 11.04, I run netstat -nplt the results for local address may be localhost:6666 or [::]:6666 What is the difference? I believe that the [::]: binds the service at ...
1
vote
2answers
49 views

Aliasing a domain on Apache

I am developing a website on my own development servers. The client is loading some fonts that are white-listed on just their domain, the problem is that during development I cannot see them on my dev ...
0
votes
1answer
403 views

Apache suddenly stopped working

After using apache in a local dev setup it has suddenly stopped working. I have tried pinging a previously used custom domain and I'm not getting anything. I have checked the syntax its correct ...
-1
votes
2answers
202 views

Why does 127.0.0.1 point to virtual host?

I have a Virtual Host set up in apache to run CodeIgniter: <VirtualHost *:80> DocumentRoot "/var/www/CodeIgniter" ServerName codeigniter.loc </VirtualHost> Problem is, when I ...
0
votes
1answer
47 views

How do I only serve on localhost through apache2? [duplicate]

Possible Duplicate: TOR: hide my site in clearweb‏ I'm trying to serve on localhost only but every time I find a way to do it, it always says to edit http.d I cannot find http.d. Can ...
1
vote
1answer
469 views

how to make apache2 listen to localhost and a lan computer

i completely got something wrong abotu the listen thing in apache. my question now is. when i make it listen to NameVirtualHost *:80 Listen 127.0.0.1:80 Listen 192.168.1.23:80 will it be ...
0
votes
2answers
729 views

IIS “localhost” subdomain

I have an IIS7.5 server (also running SQL Server) which has a server name of (say) dc-db. On this server, my IIS default site runs correctly on http://localhost and http://dc-db I want to load on a ...
-3
votes
1answer
934 views

Map ip address to localhost [closed]

I have a website running on my mac on mamp at localhost:8888. On another mac on my wifi I can view the website, using http://192.168.X.X:8888 (where X's are my computer's ip address). Except, I ...
-1
votes
4answers
2k views

Setup localhost on home computer as remote server [closed]

Recently I have finished a PHP project that I have tested on my home computer using WAMP. I dont have any hosting online and would like to make my localhost remotely accessible. For example, I want ...
0
votes
1answer
111 views

Can I put “localhost” into /etc/hostname?

I want to stop apache2 from querying the dns name at every start and to make it faster. There is absolutely no reason for apache to do any DNS-queries at all. For redirects it has to use the name ...
1
vote
1answer
121 views

404 in local server with apache and dnsmasq

I have been trying to setup a local server to the ones mentioned here and here(added TLDR at the bottom), but I keep getting 404s no matter what I try. I can ping both google.com and xxxx.dev. So I ...
1
vote
0answers
559 views

Can't load my php.ini on localhost

I have a server and a local version of it on my hard drive. I am trying to access the local version through localhost. Entering localhost works, I enter the base html file and all that. The problem ...
6
votes
3answers
9k views

IIS asks for login/pass when accessed using hostname but not when 'localhost' is used. Why?

I have setup IIS on my xp machine and have setup a default homepage (that comes with the IIS installed). It is a help page I think. when I access the page with http://localhost it works fine ...
3
votes
3answers
5k views

Strange redirect to localhost! http://dp.000.in/?

I just accidentally typed imadb.com and after 2 redirects (I think) I ended up at: http://dp.000.in/ You can imagine my surprise when I noticed I was seeing my webpages on my local host! Can someone ...
2
votes
3answers
388 views

Access 127.0.0.1 on a local network

I usually write code, not administer servers, so bear with me here! I'm running a python script to act as a webserver and I also have Apache installed on the same machine. When I run the python ...
2
votes
3answers
267 views

iptable localhost connections reported to be blocked, but work ok

I am using fwbuilder and have tried setting up rules that both allow lo interface and source ip 127.0.0.1, as follows: $IPTABLES -A INPUT -i lo -m state --state NEW -j ACCEPT $IPTABLES -A OUTPUT ...
-2
votes
1answer
650 views

shift a localhost site from webrick localhost:3000 to apache2 passenger localhost/redmine or redmine.localhost [closed]

I have installed application called REDMINE on my localhost, using ruby on rails. It is accessible webrick script through localhost:3000, on my PC. Now I want to shift to apache2 passenger, I tried ...
1
vote
2answers
3k views

Difference between accessing a website using Local host and IP address

I have developed an ASP.NET website and deployed into my IIS server. Now to see that my IIS is installed fine, I type local host in my address bar, and I get the welcome screen of IIS and its ...
0
votes
2answers
244 views

emails not sending from CentOS 5.6 VM on Win7 via PHP code

I am experiencing an issue where my CentOS 5.6 (Final) VM running on Windows 7 has stopped sending emails from my PHP code. I'm confident this isn't a coding issue as I have the exact same code ...
6
votes
3answers
3k views

Can I access Cassini from a remote machine?

So I'm having that browser compatibility party we all have at some point in a web project and want to access my localhost Cassini instance created by VS2008 rather than having to upload to our ...
1
vote
2answers
83 views

Why doesn't mySQL allow users@'%' from localhost?

It seems that the solution to accepting users from localhost is to create a copy of the user with @'localhost' (in addition to user@'%'). I'm trying very hard to understand the logic here, because it ...
-1
votes
3answers
503 views

Changing php.ini location for localhost

I'm using localhost to run a website locally; my problem is that I can't get the correct php.ini to load. I have set the Directory and DocumentRoot fields in /etc/apache2/sites-available/default, and ...
1
vote
2answers
568 views

reset root password in mysql without access to mysql table [duplicate]

Possible Duplicate: reseting mysql root password I am having an issue on OS X 10.7.5 as I used to use MAMP but for .htaccess issues I am now using my own compiled local server from a long ...
1
vote
2answers
1k views

XAMPP pointing a file outside root folder [closed]

I am using XAMPP for first time in Mac. Running out problems accessing other than root folder(htdocs).when I am placing my web application inside htdocs with default httpd.conf file it works when I ...
-1
votes
1answer
80 views

APACHE httpd.conf error

I have recently installed the latest Apache. It is working fine through localhost:80 and through 10.0.0.51:80, but I can't connect through [External IP]:80. I have forwarded ports correctly, but I ...
0
votes
2answers
3k views

Accessing localhost via IIS 7.5 on Windows 7 very slow [closed]

(I've asked this over on stackoverflow already, but thought I'd ask here as well) I'm currently running an ASP.NET application on IIS 7.5 on Windows 7. When I access this application on Internet ...
0
votes
1answer
1k views

phpmyadmin on lighttpd gives me a 403 forbidden need help

Whats the problem: When I goto //localhost/phpmyadmin I get what I would get if I did //localhost/, I'm using both http: and https:. What did I do, that changed it: I simply reinstalled lighttpd. ...
-4
votes
1answer
953 views

127.0.0.1:8080 works but localhost:8080 doesn't [closed]

This may be super easy so I apologize in advance but my strengths are in coding. Why can't I access my localhost at localhost:8080? 127.0.0.1:8080 - works 127.0.0.1:80 - doesn't work 127.0.0.1 - ...