Questions tagged [localhost]

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

localhost (all lowercase) (meaning this computer in computer networking) and is the standard hostname given to the loopback network interface.

IPv4

Under IPv4 the standard localhost address is normally assigned to:

127.0.0.1

IPv6

In full notation, the address under IPv6 is:

0:0:0:0:0:0:0:1
549 questions
0
votes
1 answer

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 passed in by the client in the host header. (See…
Christian
  • 1,052
  • 5
  • 16
  • 24
0
votes
2 answers

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 running in my office and emails send correctly from…
crmpicco
  • 231
  • 1
  • 3
  • 11
0
votes
2 answers

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, it can connect and display files but I cannot…
Legend
0
votes
1 answer

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 I have installed Apache 2.0, but my php files are…
user123_456
  • 123
  • 5
0
votes
1 answer

WAMP can connect to localhost but not 127.0.0.1

I'm running WAMP which was working fine the other day. Today I tried connecting to 127.0.0.1 and my browser throws a 404. Both firefox and chrome. My hosts file is correct mapping 127.0.0.1 to localhost. I can telnet to both the IP and localhost…
Anagio
  • 216
  • 2
  • 15
0
votes
2 answers

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???
coderman
0
votes
1 answer

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 * ServerName site1.local DocumentRoot "/Users/Dan/Dropbox/Websites/www/site1" In…
Dan
  • 113
  • 1
  • 6
0
votes
1 answer

Mod rewrite subdomains based on query string

I gave localhost an alias: 'myhost'. Entering 'myhost' in my address bar shows me /var/www/index.php. So far so good. Set up an apache virtual host on /var/www and called it 'myhost', then added three aliases: '*.myhost' '*.myhost.* 'myhost.*' the…
bee.catt
  • 225
  • 1
  • 2
  • 7
0
votes
3 answers

xampp - can access control panel, cannot access projects/sites on local network

I've configured xampp and firewall so I can access desktop pc's localhost over my local network through desktop pc's IP. But I'm not able to access auctual projects: I can access: http://192.168.x.x/xampp or http://192.168.x.x/phpMyAdmin But I…
peter.o
  • 103
  • 1
  • 4
0
votes
1 answer

xampp and network

I have build a site working on my localhost using xampp on windows7. Now, I my colleagues want to access and use that site in our small office. I tried to access the site using IP address of my own system. but some urls are redirecting to …
Alireza
  • 121
  • 1
  • 4
0
votes
1 answer

LocalHost error

Does anyone know why I get this?: Oops! Google Chrome could not connect to localhost:8800 I am trying to use DokuWiki for the first time. It uses MicroApache. When I start it I get the error message. If I try to manually go to…
Ian
  • 11
  • 1
  • 2
0
votes
2 answers

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 project.com) I've put this in my Apache…
Martin Hoe
0
votes
1 answer

network restricted website

How can I restrict my network connections to a only my web-server? EG, a user would connect to my network (WIFI/LAN) when they open a web browser and enter 127.0.0.1 it will load my app. But if they enter any other web address it would redirect…
afro360
  • 101
0
votes
1 answer

Redirect Addresses to localhost by Pattern on Mac OS X

I'm not even 100% sure how to ask this question. The answer might be out there, but I can't find it. So I've set up virtual hosts for my Mac and I do all my development locally on my computer. I have a vhost folder in my Sites folder, and I have a…
CWSpear
  • 143
  • 1
  • 7
0
votes
1 answer

VM can't ping localhost on ESXi 4

I have some problem, i have 3 VM (vm1, vm2, and vm3). vm1 is normal. ping to internal and external is OK, DHCP is OK. but vm2 and vm3 very strange. DHCP is OK but can't ping to internal and external. Can't ping to localhost and to gateway ip. Anyone…
user1316095
  • 37
  • 1
  • 2