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

1
vote
1answer
7k views

Why is Apache returning Service Temporarily Unavailable on local host?

Ok so I am a bit new at all this. I was trying to get php and apache2 running on my localhost and I don't seem to be able to get it to work. I keep getting this message when inputting localhost into ...
0
votes
1answer
103 views

Intranet Ip - Access from Custom Domain

I have setup a local intranet in my office using IIS7 (Windows 7 Machine), currently it can be accessed through the PC's static IP, however I would like it so that internally it can just be accessed ...
-5
votes
2answers
66 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
149 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
214 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
73 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 ...
-3
votes
1answer
91 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
660 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
55 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 ...
0
votes
2answers
209 views

VirtualDocumentRoot & localhost

Currently this is my httpd-vhosts.config file NameVirtualHost *:80 <VirtualHost *:80> VirtualDocumentRoot /Users/Gabri/Sites/%2/%1/build </VirtualHost> However I would like to have ...
0
votes
2answers
2k 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
265 views

How can I locally broadcast a domain name?

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 ...
1
vote
2answers
6k views

“/etc/apache2/httpd.conf: No such file or directory” error after Ubuntu upgrade

So I upgraded Ubuntu and I went to 127.0.0.1 in Chrome and got "Oops! Google Chrome could not connect to 127.0.0.1" so I restarted Apache but was met with this error: apache2: Syntax error on line ...
0
votes
1answer
42 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
1answer
83 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 ...
0
votes
1answer
243 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
253 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
0answers
234 views

RHEL6 Apache mod_fcgid PHP localhost

I have disabled mod_php on a RHEL6 apache server and installed mod_fcgid. PHP test scripts (info.php) work on the localhost. I know this since info.php returns the apache api as Server ...
0
votes
2answers
234 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 ...
0
votes
2answers
391 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 ...
3
votes
1answer
289 views

How to reset and persist the hostname and FQDN of an WIdows Azure Centos instance?

How does one reset a hostname and domain name (FQDN) to localhost.localdomain on a Centos 6.2 Azure Instance? I've tried editing /etc/sysconfig/network, /etc/sysctl.conf, setting the hostname ...
2
votes
2answers
212 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
272 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
47 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
197 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
165 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
46 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
284 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 ...
-3
votes
1answer
540 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 ...
0
votes
2answers
486 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 ...
1
vote
1answer
99 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 ...
0
votes
1answer
102 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
0answers
408 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 ...
1
vote
1answer
240 views

.htaccess - Simulating virtual host wrong link to Parent Directory in Directory Listing

I have a domain dedicated for my local server (.dev), and an .htaccess file which redirects requests like http://folder.dev/subfolder/ to /htdocs/folder/subfolder. It works great and all, except for ...
2
votes
3answers
209 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
185 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
420 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 ...
0
votes
2answers
194 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 ...
1
vote
2answers
67 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
226 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
404 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
1answer
136 views

Zenoss modeling localhost

Immediately after installing it, Zenoss appears to try to model the server it's installed on. That's fine, but I only understand how to configure Zenoss to model a server via snmp, ssh, or some other ...
1
vote
2answers
722 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
70 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 ...
-4
votes
1answer
648 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
6answers
4k views

Can't SSH into a Vagrant Virtual Machine

Local Vagrant machine installed at IP address 10.0.0.23 with hostname lamp-vm. Using vagrant ssh command, I can connect just fine and do everything I need. This creates an error $ ssh ...
1
vote
1answer
86 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
464 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 ...