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
1answer
251 views

Bypass IIS Basic Authentication for localhost

I'd like to have a website authenticated with basic auth, but then also allow the website to access itself locally. That is, I want to allow unauthenticated access only from localhost. In IIS I have ...
0
votes
1answer
657 views

Ubuntu server not using localhost IP for internal communication

I am using Ubuntu Server 13.04 on my mail system. I am just setting the Postfix and Amavis. In every config for communication I am using 127.0.0.1 as IP address to pass mails to amavis. When I look to ...
1
vote
1answer
1k views

PHPMailer script stopped working with cryptic SMTP error messages

I am trying to send mail in a PHP script via the PHPMailer library. The following code has successfully sent emails in the past without warnings: function mail_attachment($filename, $path, $mailto, ...
-1
votes
2answers
309 views

Forwarding the endpoint (at localhost) of an SSH -L tunnel to another machine

Even after long searching and trying I'm not able to solve the following puzzle: Client A --------------------------> Server B (172.26.15.15/24) ssh -L 4321:localhost:4321 Server C ...
1
vote
1answer
139 views

Bingbot spoof localhost ip

So here is a fun one. I'm getting bingbot requests at a certain time everyday that kill the server. Here is the request: 127.0.0.1 - - [14/Sep/2013:08:18:49 -0500] "GET / HTTP/1.1" 200 82810 "-" ...
-2
votes
2answers
952 views

Point IP Address to /var/www/ localhost

I am paying for a Virtual Private Server with Linode. I recently set it up with apache to host two different websites. Now that I've added the sites, I can no longer access my index.html file at ...
1
vote
2answers
382 views

Apache 2.2 server stopped after adding code for virtual domain name

i am developing a website on Apache 2.2 local server. The site is still in development stage. I wanted to get a custom domain name for my website, so that i could access it as "mysite.local" or ...
0
votes
2answers
509 views

Can't connect to MySQL server on 'localhost' after changing TCP/IP Port

When I change the TCP/IP Port the MySQL Server will listen on port=3306 to port=3808 in my.ini, my Django project works very well. Navicat also can login in to mysql with same user name and password. ...
1
vote
1answer
51 views

Domain and IP should have different DocumentRoot

the Domain points to an IP / Server. But I like to have different documentRoots if the server is accessed via IP or via Domain. Therefore I build this configuration: NameVirtualHost *:80 ...
0
votes
2answers
655 views

Don't manage to set up iptables rules for client/server socket exchange on localhost

I am a client/server-IPC-iptables near-newbbie. I have made my homeworks deeply during one year and thought this should work : # cat /root/firewall/iptable | nocomment iptables -F iptables -F -t nat ...
0
votes
3answers
433 views

Redirect localhost requests to a Linux container

I run some linux container on my ubuntu host. Each one of them are running a webapp. To be able to access these webapps, I use iptables to forward port: sudo iptables -t nat -A PREROUTING -p tcp ...
2
votes
1answer
14k views

DNS server can't resolve localhost name

I'm trying to set up an Apache server on my RHEL6.4 vm and can't because dnsmasq can't recognize the hostname for some reason: nslookup rhel64.example.com Server: xxx.xxx.xx.1 Address: ...
0
votes
2answers
772 views

Can the name “localhost” in a virtual machine be mapped to IP of host machine?

I have a virtual machine image (using Virtual PC) of Windows XP/IE6 from Microsoft's "modern IE" website. This virtual machine is hosted by a Windows 7 machine. I have a local web application on the ...
1
vote
1answer
68 views

reroute tcp connections to remote server so that they connect to localhost instead

I have a script that tries to connect to a remote mysql server and I want to modify the vm it runs in so that instead of the remote ip, the connection will be forwarded to localhost. Can anybody tell ...
1
vote
1answer
906 views

Local SSH connection to Gitlab not working

I'd like to be able to clone, push and pull (via SSH) on my Gitlab-Server from/to itself. Currently, when try to clone a git repository locally from my server I get this: jacob@server: git clone ...
0
votes
1answer
52 views

Apache not serving HTTPS to localhost

This just started being a problem (likely after a software upgrade?). The relevant config bits are: <VirtualHost *:80> ServerAdmin webmaster@singpolyma.net ServerName singpolyma.net ...
2
votes
1answer
13k 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
148 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
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
324 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 ...
-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 ...
0
votes
3answers
281 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
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
508 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 ...
4
votes
2answers
13k 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
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
1answer
110 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
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 ...
0
votes
2answers
898 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 ...
3
votes
1answer
502 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
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
402 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
468 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
932 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
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 ...
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 ...
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
0answers
558 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
423 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 ...