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
305 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
637 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
49 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
23k 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
263 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 ...
-3
votes
1answer
287 views

How should one go about hosting a local test website in IIS8, and testing http bindings in browser? [closed]

Given the latest version of IIS at the time of writing is IIS8, how would one go about adding a new site through the IIS manager, set up HTTP bindings, and test the setup in a browser? This ...
1
vote
2answers
48 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
266 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
185 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
379 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
611 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
707 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
105 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
106 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
493 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
8k 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
263 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
226 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
520 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
215 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
72 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
322 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
479 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 ...
0
votes
6answers
11k views

localhost went “It works!” - and nothing else

I'm working with Mac's built in Apache, and everything was just great UNTIL - something went wrong. I think it's the .hosts file. http://localhost results with "It works!" message, while any ...
1
vote
2answers
845 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
75 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
788 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 - ...
1
vote
1answer
91 views

How to access localy installed Screwturn Wiki from networked machines

I installed Screwturn Wiki using WebMatrix 2 and this tutorial: Installing ScrewTurn Wiki using WebMatrix, Now I have Screwturn Wiki running on my machine at http://localhost:4422/Default.aspx but ...
2
votes
2answers
664 views

Can't access mamp server with internal IP

Running MAMP 2.1.1 on my 10.7.2 OS X Mac Pro. I can access server if I choose a port (such as the default 8888) but changing it to port 80 causes it to not work, except with localhost. This used to ...
10
votes
6answers
14k views

How to force MySQL to connect by TCP instead of a Unix socket?

I would like to analyze mysql traffic. Right now, all mysql requests are sent to the MySQL unix socket: unix 2 [ ACC ] STREAM LISTENING 3734388 15304/mysqld ...
0
votes
2answers
389 views

Localhost physical path

Right now my localhost path is limited to C:\inetpub\wwwroot. I am using IIS 7.5 and would wish to start working on PHP. before enabling the IIS 7, I was unable to connect to localhost/127.0.0.1. Now, ...
0
votes
2answers
2k views

500 Internal Server Error when setting up Apache on localhost

I downloaded and installed XAMPP, and to keep my projects nicely separated I want to create a VirtualHost for each one based on its future domain name. For example, in my first project (we'll say it's ...
-1
votes
1answer
315 views

tunnel to a webserver with putty and access apache there as if from localhost

I have a webserver with a htaccess rule that permits only contact to a webservice from 127.0.0.1 (I cannot change this). I already configured putty to make a tunnel to that webserver and when I enter ...
1
vote
4answers
5k views

/etc/hosts redirecting domain to localhost/directory

In this example i'm trying to force test.com to load localhost/project 127.0.0.1/project test.com However it doesn't work. 127.0.0.1 test.com The above works, but I really need it to go to ...
0
votes
1answer
138 views

Apache 2.0 is showing only text and not php files

I have a web application written in PHP, html and JavaScript. On my PC, I have installed the EasyPHP program which has Apache and everything installed. I wanted to put this web app on my server and ...
1
vote
0answers
412 views

IIS 7 my site works using localhost but using 127.0.0.1 or my IP 192.168.1.66 fails

My question title basically says it all. I was reading some other questions that are similar to this, but I think I need some help on trouble shooting it. Can't seem to figure it out. Using IIS 7, ...
-3
votes
2answers
112 views

Changing the IP address with a name [closed]

I have a web server (xampp) in a particular PC running on my LAN, and I added the following line in the 'hosts' file : 127.0.0.1 mysite. Then, in another PC connected to the LAN, I'm trying to ...
0
votes
2answers
3k views

How do I access the web server on my desktop from my laptop?

I'm running Apache on my stationary and I would like to access a website through my laptop. This is some of the Apache config: NameVirtualHost 127.0.0.1:80 <VirtualHost 127.0.0.1:80> ...
0
votes
1answer
188 views

Issue with virtual hosts in Mac OSX Lion with MAMP

I'm having issues connecting my virtual hosts. Here's my code. Is there anything missing here? In httpd.conf NameVirtualHost * <VirtualHost *> ServerName site1.local DocumentRoot ...
0
votes
2answers
255 views

hitting a webpage hosted in JBOSS externally

I have jboss 5.0 running a web application I am developing. I am able to hit the pages using localhost:8080 but not my external IP address.. How can i hit with my ip???
1
vote
1answer
510 views

Showing outdated information when using WAMP as local server

I am running WAMP as a local server for the computers in the my network. The problem is that when I try to do any operations to the database from these computers, it seems as if they don't happen, ...
1
vote
1answer
70 views

how to browse to website on the same machine it's hosted on with IIS 7?

I have 2 websites hosted on an IIS 7 server. I can browse (in Internet Explorer) to the 'Default Web Site' at http://localhost but I want to be able to do the same thing with the other website. From ...