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

-2
votes
0answers
10 views

Connecting to localhost OpenVPN using proxy [on hold]

A few days ago I found a OpenVPN config includes following lines: client dev tun proto tcp remote 127.0.0.1 localport http-proxy PROXYIP PROXYPORT I've looked at Web for a week but I have nothing ...
2
votes
1answer
46 views

Is it important to use localhost/127.0.0.1 rather than machine's own IP address?

I'm on Amazon AWS EC2 running Amazon Linux, though that may not be significant to the answer. Say I have three hosts, H1, H2, H3, with private IP addresses of 10.0.0.1, 10.0.0.2, and 10.0.0.3. This ...
-2
votes
0answers
6 views

How to create a WiFi hotspot for sharing my localhost for other devices [closed]

I am interested in sharing my localhost project (a social network project) with my my classmates through wifi without actual net connection also it should be accessible through custom local domains (e....
0
votes
2answers
127 views

Local web app not resolving localhost

I have a local web site called http://localhost.example.com but now when I try to open it in a web browser it redirects me to http://www.example.com. This used to work before. What I changed in the ...
0
votes
1answer
16 views

sendmail is not able to send outbound mail

I have set up a server and need sendmail for my Icinga monitoring. I installed sendmail and played around with it. I am not able to send files to a gmail account. My mail log is as follows: Jul 11 ...
0
votes
0answers
6 views

WordPress Doesn't Save Changes [migrated]

Im pretty new to networking and am trying to build my first website. I've set up my lamp server and created the site on localhost. Now I've got my domain pointing to my IP and port forwarding is set ...
-1
votes
0answers
24 views

Change [127.0.0.1] in mail header

I have problem, i need to change 127.0.0.1 to my external server ip in mail headers. Some of spam filters could trigger as it is now. headers Received: from server.example.com (server.example.com [...
0
votes
1answer
66 views

cannot use localhost but 127.0.0.1 works

My usecase is that I manage remote computers using reverse SSH tunneling. This works great as our customer enable the tunnel and I can then log on using it. However, on one machine the tunneling ...
1
vote
0answers
62 views

haproxy with SSL in front of apache for local development

I work on a web app that regularly makes AJAX calls to a REST server that (in production) is accessed via the same domain. While developing locally, I have been redirecting REST calls to a dev server ...
1
vote
1answer
72 views

Ubuntu Apache Server 503 Error: disabled connection for (localhost)

in a bit of a bind here. I'm trying to move a website (www.monkhouselaw.com) from one hosting company to my Digital Ocean VPS. I've changed the DNS settings to: * -> 107.170.29.18 www -> 107....
0
votes
0answers
52 views

Fix 'ERROR - Unable to set localhost. This prevents creation of a GUID'

My program is working fine but seems I have to set 'set localhost'. Should I do this or it's optional? How to fix in case I should? -sh-4.1$ sh interproscan.sh -i test_proteins.fasta -f tsv -goterms ...
0
votes
0answers
17 views

Apache2.4 - make subdomain point to the same directory as domain

I have a problem configuring access permissions. I need to setup a WordPress subdomain multisite network for testing on my local machine. I'm on Linux, running Apache 2.4.10 in chroot (if this matters)...
0
votes
1answer
26 views

What to use as DB Host when installing WordPress?

I am aware of how daft this question seems. I am installing WordPress on two load balanced servers (hardware load balancer), with MySQL set up in Master-Master configuration with an installation on ...
1
vote
0answers
52 views

How to connect to a service on a local network machine whch which only listens to localhost?

I have a service which only listens to localhost on port 7400. There is a service running on a windows and an ubuntu machine on a private network. How can another computer on the same network ...
0
votes
2answers
85 views

postfix allow localhost only local users

I have a little problem. I am offering some clients access to my server in order to execute own scripts (of course in their own chroot environment, etc...). The problem which occured today: Some ...
-4
votes
2answers
48 views

Cannot copy a local file to live server over a port other than 22 [closed]

I am trying to copy a file from my computer to my server through scp command. I have changed the default sshd port from 22 to 36871. Now, the problem is when I issue the scp command over port 36871, I ...
3
votes
1answer
27 views

Will it detriment my security if I allow all connections from localhost through iptables?

Under my current configuration, iptables will block every inbound connection, even if coming from localhost. In some cases, I need localhost to connect to itself. If I create a rule that allows all ...
-1
votes
1answer
79 views

bad localhost resolution on linux [closed]

$ dig @127.0.0.1 localhost $ dig @127.0.0.1 localhost. ;localhost. IN A ;; ANSWER SECTION: localhost. 604800 IN A 127.0.0.1 ;; AUTHORITY SECTION: localhost. 604800 IN NS ...
1
vote
1answer
49 views

What is the 'play' host?

I tested the following on a Ubuntu machine. The command ping play results in PING play (127.0.53.53) 56(84) bytes of data. 64 bytes from 127.0.53.53: icmp_seq=1 ttl=64 time=0.029 ms 64 bytes ...
0
votes
0answers
94 views

Rtmplite and Open Broadcaster Software

I'm messing around with Rtmplite (found here), a Python implementation of an RTMP server. I'm doing this because I have an old computer running SunOS 5.10 that I want to use to stream a friend's ...
1
vote
1answer
27 views

How to set up Apache2 on different local development environments to use the same artificial host name?

I have two development environments: PC at work (env1), laptop at home (env2). Both machines run Ubuntu 15.10 with Apache 2.4.12. Once finished, the project shall be deployed to a public web server (...
0
votes
1answer
56 views

How to map apache to use an index file inside another directory in www/html/ without reflecting on url

Apache version: 2.4 OS: Ubuntu 14.04 I am not sure whether I wrote the heading correctly. My index file is located at some directory (say /var/www/html/new/ ) rather than the default apache root. I ...
-1
votes
1answer
47 views

Apache Sub domain Redirects to LocalHost

I have the following in my httpd.conf file (snippets only): Listen 80 Listen localhost:80 DocumentRoot "c:/web" <Directory "c:/web"> DirectoryIndex index.html index.php Options Indexes ...
0
votes
1answer
95 views

How to test GeoIP .dat librairie in local

I'm on a projet where I have to implement GeoIP on a Redhat Apache instance. For now, i'm only testing the configuration in local. Here it is : <IfModule mod_geoip.c> GeoIPEnable On ...
2
votes
1answer
2k views

Port 80: connection refused. How to fix on Mac OSX? [duplicate]

I've noticed some issues with Apache virtual hosts on two Macs that otherwise have the same kind of set up (in terms of httpd.conf, vhosts, hosts etc.) On one Mac, virtual hosts are served without a ...
1
vote
4answers
84 views

Localhost or real hostname (real IP)

Lets suppose that I need to send data from one services to other on the same host. For this I can use localhost:port or real.domain.name:port (lets think that it cached or can be resolved by local dns)...
1
vote
0answers
18 views

dnsmasq causes “Bad request syntax”

I need to wildcard localhost for dev purpose and I'm really green on dns and network things. With wildcard localhost I mean that I need to test my python and node.js applications with: localhost.dev, ...
1
vote
0answers
84 views

Mongoose hang waiting for localhost

I'm using Mongoose on Windows 10, localhost is unreliable. I have tried almost all hosts file combination possible. I have tried almost all qualified names for localhost. Most of the time it just ...
1
vote
1answer
119 views

ssh bind address through multiple hosts

I'm trying to ssh through multiple hosts which works with no problems like so: ssh -t -t user1@host1 ssh -t -t -p 222 user2@host2 Now I would like to use local host for access to a third host and I ...
1
vote
1answer
521 views

Can't reach 127.0.0.1 via Browser(Windows Server 2012R2)

On a Windows Server 2012R2 I can't open the local hosted site via 127.0.0.1, via localhost works. Ping of 127.0.0.1 works also. On a Windows Server 2008R2 it works without any Problems. What could ...
1
vote
1answer
551 views

Cannot access Apache 2 virtual host on localhost

I originally set my web root in /etc/apache2/sites-available/000-default.conf to point to /home/me/www. Due to the requirements of a new project, I need to be able to set /home/me/www/vendor/www as ...
0
votes
0answers
34 views

Is it possible to make apt-cacher not cache specific repositories

We have a environment currently setup with Apt-Cacher and it is working great. I am in the process of making a local Debian repository for custom packages that we crate in house. I can serve the ...
0
votes
1answer
132 views

cant connect esl to freeswitch

im trying to connect an application to FreeSWITCh using ESL. the code is ok (it works on other machines) but on one installation its not connecting. im trying to connect to localhost:8021 but the ...
1
vote
3answers
252 views

how to find proces which is pinging localhost

How can you find the process issuing ping to localhost? While it is not script, where the ping command can be simply grep from process table. I have used wireshark, but it is of no help to find out ...
-2
votes
1answer
69 views

IP address differences between two computers on the same local network [closed]

Why does the python command print(socket.gethostbyname(socket.gethostname())) give: 192.168.1.4 on my laptop 127.0.1.1 on my Raspberry PI when they're both on the same local network, and the PI's IP ...
2
votes
4answers
10k views

What exactly is going on when I go to localhost:8080 in my web browser? (Apache Tomcat)

I've spent my career doing all local application programming (C++ applications and whatnot). I'm trying to dig my feet into the web world now, however. I'm using Eclipse (Mars) and Apache Tomcat 8.0....
1
vote
1answer
86 views

When connecting to localhost, does a full SYN, SYN-ACK, ACK handshake still occur?

This question is addressed, primarily for Linux. While I could find the answer myself, I'm hoping someone out there just knows the answer implicitly and can save me some time. If I'm connecting to a ...
-4
votes
1answer
405 views

FH_HELO_ALMOST_IP: How to fix HELO for sent e-mails (CentOS 7) [closed]

I've got bad rating of my sent e-mails because of my invalid Helo. I have no idea how to fix it. CentOS 7 On Kimsufi Any ideas? Ok, I've done something and it helps. I've made change here /etc/...
0
votes
1answer
91 views

Local IIS webpage address is IP:PORT - How can i have it set to something more human readable, like teehut.com, on my local network?

I am running windows 7 - installed IIS and created a new site. I set this site to run on port 8080. Currently, if i visit http://192.168.2.150:8080/ or localhost:8080, i can hit my site. Other ...
0
votes
1answer
74 views

Postfix + php translating email addresses sent to local domains to something@localhost.localdomain [closed]

My first question here, if I don't provide sufficient info straight away, please take it easy on me with the downvotes ;-) I'm running a VPS hosted by afterburst.com with OpenVZ I installed and ...
0
votes
1answer
168 views

How to use non-deprecated tools like ss to get process id running on a port?

I am looking for a non-deprecated way of running a command like netstat -tulpn | grep 8000 to output information about an active port. Any suggestions on how to use a tool like ss to get the process ...
0
votes
2answers
251 views

Apache 2.2 won't start with an ipv6 address [closed]

I'm trying to only allow the localhost on a certain folder, it works perfect with ipv4 (Allow from 127.0.0.1) but as soon as I add ipv6 (Allow from [::1]) my Apache won't start anymore. I checked the ...
-1
votes
1answer
168 views

Too large 127.0.0.1 connections with nginx - apache2 [duplicate]

I use nginx as proxy-server apache2 and I have a problem with netstat output: $ netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n 5 109.195.36.169 6 109.195.33.205 8 194....
2
votes
1answer
3k views

Can't access local apache virtualhost using Chrome [closed]

I have a few virtualhosts on my localhost apache, here's the config of one (the others just change the letters before .localhost) <VirtualHost *:80> ServerAdmin admin@dev.localhost ...
0
votes
1answer
159 views

Accessing Local Web server on my LAN error

I have looked at the other questions related to this on SO, Googled and looked in my Window Logs. I have a local web site on a PC that is DHCP assigned. It is a MVC web site using IIS Manager. On ...
1
vote
2answers
846 views

localhost as computer name

When you set up Windows it requires a computer name, something like Steven-PC. This is the equivalent to hostname on Linux. I noticed that Fedora Linux uses localhost as the default hostname. Would ...
0
votes
1answer
329 views

Ubuntu server does not display any webpage in browser

Initially I was installing wordpress on ubuntu, it does not display wordpress install page, so then I took it off of var/www/html and realize that ubuntu does not display any webpage including the ...
10
votes
1answer
19k views

Failed to connect to 127.0.0.1 port 80

I have running nginx server (doesn't matter which server): $ sudo netstat -tulpn | grep 80 tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 4268/nginx tcp6 0 0 :::80 ...
0
votes
1answer
115 views

localhost != localhost for MySQL/PHP

System: Mac OS X Server 10.6.latest I just switched from the ancient MySQL (<5?) that came with Mac OS X Server to MariaDB 10.1, installed via MacPorts. (That was a whole 'nuther barrel of fun...) ...
0
votes
1answer
299 views

Port redirection with iptables to localhost / blocking the destination port

I like to forward all traffic coming to 80 to be redirected to 8000. I used iptables -tnat -A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8000 But then port 8000 is still open to ...