1
vote
1answer
134 views

ubuntu 127.0.0.1 not working, going timeout

Today i've restarted my ubuntu 11.04 server and now the 127.0.0.1 is not working anymore, it still loading for a while and then timeout. I've tried to make a traceroute and this is the result ...
1
vote
2answers
119 views

Apache on both host's localhost and VM's localhost

I'm using Windows 7 as host OS and xUbuntu installed on/as VM using Virtual Box in forementioned Win 7. I have Apache installed on both systems. I use Windows 7 Apache for my personal projects and I ...
1
vote
2answers
400 views

Arbitrary loopback ip addresses besides 127.0.0.1

I am developing a web app that has to produce different output based on ip. For testing and during development it would help a lot if I could have more loopback ip addresses besides 127.0.0.1. Is ...
0
votes
1answer
333 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 ...
-5
votes
2answers
70 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 ...
-3
votes
1answer
93 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
-3
votes
2answers
1k 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 ...
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 ...
2
votes
3answers
4k views

Curl request wont resolve to localhost

I have an ubuntu server running apache on localhost / port 80. It's domain is sub.domain.com If I make a curl request to http://localhost on that machine it will error with 'couldnt connect to host' ...
0
votes
1answer
883 views

Setting up subdomains on localhost

I have been trying to set up a subdomain on my local development environment, dev.localhost. I'm using Ubuntu 11.10 and Apache2. So far, I've edited my host file to include the line 127.0.0.1 ...
0
votes
4answers
2k 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
253 views

Web application on Local network

This is the same question asked here. I don't know if this issue was resolved. I am unable to connect to my local server from other network PCs. I am using Eclipse with Tomcat to run my web ...
9
votes
6answers
13k 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
244 views

Ubuntu, Siemens router and resolving the localhost

after installing anew Ubuntu 11.04 can't resolve to localhost. I'm trying: root@valk-pc:~# nslookup localhost Server: 10.0.0.138 Address: 10.0.0.138#53 Non-authoritative answer: *** Can't ...
2
votes
2answers
2k views

Ubuntu + Nginx 127.0.0.1 works but localhost doesn't

this one is weird, because I don't have any error messages. I have a very basic default file: server { #listen 80; ## listen for ipv4; this line is default and implied #listen [::]:80 ...
2
votes
3answers
1k views

editing apache vhosts and ubuntu hosts file?

I have just installed ubuntu (11.04). I have installed apache/mysql/php etc. I have a few sites sitting in /var/www/site1 /var/www/site2 /var/www/site3 I want to be able to access these at ...
1
vote
5answers
657 views

virtual host settings fail on multiple sites

Edited (again): I thought that an apache2 installation on my ubuntu os (personal) would enable me to "host" websites internally - without going onto the web. I am realizing now that the two domains ...
10
votes
1answer
12k views

How to configure Tomcat to only listen to 127.0.0.1?

The environment is Ubuntu 10.04.1 LTS running Tomcat 6 and Apache 2.2 from the repos. Apache is configured to proxy requests to Tomcat, so I really want to turn off Tomcat listening to requests on ...
0
votes
5answers
4k views

Cannot connect to apache listening on http://localhost/ without a network connection

I have not tested on windows. but in ubuntu when you disconnect from the network, start Apache, and enter localhost in any browser, it does not show the page it is supposed to show. 127.0.0.1 ...