DSL + Localhost

Apr 27, 2007

A friend of me would like to setup a local server with my DSL. The problem is the IP address keeps changing and he does not want to purchase a static IP.

The script needs to detect the IP address and then email it to the admin over here daily.

View 2 Replies


ADVERTISEMENT

127.0.0.1 Works But Not Localhost

Jul 7, 2009

I just installed wamp here on my laptop to set up a developer machine for my website. I am used to going into the browser and just typing in "localhost" and having it bring up the test website. I'm sure there is probably something wrong with the configuration of the wamp files because it works for 127.0.0.1.

View 4 Replies View Related

How Associate 127.0.0.1 To Localhost

Mar 27, 2009

I've installed WampServer on my Windows Vista machine.

Haven't used it for a while but now for some reason I can't access http://localhost, firefox tells me, "Firefox can't establish a connection to the server at localhost.".

I can access WampServer via [url]and the main WampServer default page appears.

Apache version : 2.2.8

PHP : 5.2.6

MySql : 5.0.51b

Which file(s) do I need to edit in order to associate localhost to 127.0.0.1

View 4 Replies View Related

Vietnamese Localhost

Jun 18, 2008

I am a Vietnamese girl and a new member. I'd just like to ask anybody knows about vietnamese localhost? I use appserv, but it does not have vietnamese language, so if I'd like to submit categories, etc. in Vietnamese into my phpmyadmin, it does not work.

Only languages are okay, like: English, Deutsch, French, Spain, .... but there are no Vietnamese language. What should I do?

We write with latin characters, but there are apostrophes which appserv cannot read.

Does it happen to any Vietnamese here in forum?

how can write a text in Vietnamese language into phpmyadmin,

View 4 Replies View Related

How To Catch Localhost Spammers

Jun 19, 2007

I am failed to catch this spammer, please help me to find out the source. There is no such domain on my server. User is using localhost in smtp, I am using mail enable standard on my server ....

View 2 Replies View Related

Limit Access To Localhost

Jun 9, 2008

I have a win2003 server running some apps in the 'default web site'

I have just installed PHP on the 'default web site' and I want to use it to run some admin jobs. BUT I do not want the PHP scripts to be accessible over the internet, they should only run from local machine.

Is it possible to set it up so that the files can be executed only by localhost?

View 4 Replies View Related

Bluescreen On Win XP Accessing Localhost

Sep 11, 2007

I just installed IIS on my Windows XP machine and any time I access localhost I get a bluescreen and my computer will restart. I have tried to uninstall IIS, reboot, re-install, reboot then try accessing localhost and that does not fix anything. This is on an almost fresh install of Windows. (The computer is only 1 week old)

View 5 Replies View Related

Accessing Blog On Localhost

Aug 18, 2007

I installed Wordpress on a local install of Apache so that I can play around with it and get my design down before I put it on the web. I can get to the admin and do everything, but I can't actually get to the site. I had an index.html in my htdocs directory, which was deleted, but now when I go to localhost, it just shows the directory.

View 2 Replies View Related

Loading Localhost With Apache

Dec 9, 2007

I've had a localhost server setup for awhile now, and all of a sudden when I access [url]it wants to download my "index.php" file. However, when I access it via [url]is loads fine.

View 7 Replies View Related

Apache :: No Localhost On 2.4.9 After Upgrading From 2.4.6

May 20, 2014

I have Apache 2.4.6 running without problem on Windows 7 Ultimate.

I upgraded to Apache 2.4.9 by:

Stopping Apache;
Renaming the 2.4.6 directory to "old";
Extracting the files from the zip to the Apache directory; and
Copying the old httpd.conf to the Apache directory.
After rebooting I found that I could not access localhost (or 127.0.0.1).

I then reverted to Apache 2.4.6. Localhost is now working.

View 2 Replies View Related

Configuring Subdomains In Apache On A Localhost

Apr 27, 2006

I'm currently trying to configure apache 2 to handle subdomains. This is on a local machine (not tied to any domain names) and I'm only doing it to research how the final structure of a site 'could' be setup.

Basically I have a single install of Apache 2 running. The outcome eventually should be to have specific sub domains that all point to the same document root as the actual domain name. So eventually I will have:

http://www.mydomain.com
http://subdomain1.mydomain.com
http://subdomain2.mydomain.com

with both subdomains showing the content at mydomain.com (there is reasoning behind this but I'm not gonna go into that).

I have apache setup as follows:

NameVirtualHost *:80

<VirtualHost *:80>
ServerName daneastley
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"
</VirtualHost>


<VirtualHost *:80>
ServerName subdomain1.daneastley
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"
</VirtualHost>

<VirtualHost *:80>
ServerName subdomain2.daneastley
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"
</VirtualHost>

Now on my local machine, only the top one works - the subdomains dont. if I add the following into my hosts file in windows, they all work:
127.0.0.1 daneastley
127.0.0.1 subdomain1.daneastley
127.0.0.1 subdomain2.daneastley

the problem being, that I wish to test this enviroment on the local network. How would I go about having every computer being able to access this? I'm assuming it comes down to DNS stuff.

View 0 Replies View Related

Mail Server & Webmail In Localhost

Jul 9, 2008

I want to run a local Mail Server + Webmail Client (opensource. I googled and I found hmailserver[server] and Roundcube [webmail]. the problem that i can't config any of them
How have an other alternative for mail server or a solution

View 4 Replies View Related

Iphone Lighttpd-no Localhost When Offline

Feb 23, 2008

Does anyone know where the seek order information is located on an apple iphone. I installed lighttpd on the mobile, however I can only see localhost when I'm online.

View 2 Replies View Related

Malicious Mail Sent Out Via MailEnable On Localhost

Jun 5, 2008

we received a report of a malicious mail being sent from our servers. Problem is that the sender and recipients are not hosted with us. What I'm trying to find out is how the mail got sent out. The ME logs shows that the connection was made from 127.0.0.1 to the smtp service, but that's it.

We don't run mail services (pop3/imap/webmail) on the web servers, if that helps any. Have run out of ideas after sifting thru lots of logs (was trying to find if anyone called an application to send the mail and attachments out), but came up empty.

View 7 Replies View Related

Unable To Connect Localhost(10061)

Apr 5, 2007

I am stuck in re-installing mysql server..... Everything I have removed even mysql service give reboot the machine but still not able to complete the installation.

At the end I receive error " Can't connect to Mysql server with LocalHost (10061)

By the way if port 3306 is not enabled in firewall can this issue be occurred because of this?

View 5 Replies View Related

Fast MySql Access- Localhost

Aug 2, 2008

I've been using Dreamhost for years and they're very good, but their MySql databases are quite slow. Then I moved to ServInt with a VPS, and my MySql is on localhost instead of on a different server. WOW! It's so fast!

However, now I'm trying to find a shared hosting package that has fast MySQL service.

I'm not sure if the requirement is that it's on localhost but it sure doesn't hurt.

Is there anyone who is familiar of a good solid shared hosting package with fast MySQL service?

View 11 Replies View Related

Local Mysql Server Name, IP Or Localhost

Jun 29, 2007

I am using localhost as mysql server name on my config file. then, when I enter [url], the address will automatically change to[url]that obviously getting error. when I change the mysql server name from localhost to the server public IP, everything seems ok.

My sql is 4.1.x with php 4.4.7, is that any way I may use localhost instead of IP?

or is there any potential danger using IP?

View 2 Replies View Related

Apache :: Redirect URL To Localhost / Images

Oct 10, 2013

I have a simple app where i am currently downloading some images from the internet. I want to use a local web server to host some of these images when i am not connected to the internet. I installed the apache web server and added the images folder under htdocs - my document root.

Now, i want something like when i continue to query images from www.examplesite.com/xyzimage.png within my app, it should be redirected to localhost/images. Is this possible? I tried doing this

In C:WINDOWSsystem32driversetchosts i added this line URL:...

Also in the httpd.conf i set the foll -

RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www.)?examplesite.com$ [NC]
RewriteCond %{REQUEST_URI} !^/examplesite
RewriteRule ^(.*)$ /images/$1 [L]

but it doesnt seem to work.

View 1 Replies View Related

Apache :: 2.4.3 - Localhost Responses Very Slow

Aug 4, 2013

I've very slow response (from 1-2 seconds to tens of seconds) from http://localhost using Apache 2.4.3/Win32 service on Windows 8/32bit (6.2 build 9200). It doesn't depend on the browser used. Responses from all other sites are much faster.

Because it seemed to me to be a DNS issue, I tried to uncomment "127.0.0.1 localhost" and/or "::1 localhost" line in the hosts file, put "http://127.0.0.1" or "http://[::1]" instead of "http://localhost" into the browser, flushing dns by ipconfig /flushdns, stopping DNS Client by "net stop dnscache", disabling IPV6, etc. but nothing worked.

It seems that hosts file is ignored and "localhost" is passed to external DNS. Ping localhost yields to "Reply from ::1: time<1ms" response, ping 127.0.0.1 yields to expected "Reply from 127.0.0.1: bytes=32 time<1ms TTL=128" response.

Finally, "unplugging the network cable" is the only solution I've found: then the connection to localhost is much faster.

How to get instant response when connected?

View 6 Replies View Related

Error Connecting To IMAP Server: Localhost

Dec 29, 2008

i'm on Linux dedicated box -DirectAdmin panel

I use Squirrelmail to se my e-mail. When i try to log inn and read mail i get this message: Error connecting to IMAP server: localhost. Where can i change this......

Squirrelmail

SquirrelMail version 1.4.17
By the SquirrelMail Project Team
ERROR
Error connecting to IMAP server: localhost.
111 : Connection refused

webmail

ERROR (2): fsockopen() [function.fsockopen]: unable to connect to localhost:110 (Connection refused) (/var/www/html/webmail/inc/class.uebimiau_mail.php:80)

RoundCube Webmail

Connection to Imap server failed

Read on another forum, that this can solve the problem

/etc/rc.d/init.d/imaps restart
/etc/rc.d/init.d/imap restart

-bash: /etc/rc.d/init.d/imaps: No such file or directory

-bash: /etc/rc.d/init.d/imap: No such file or directory

telnet localhost 143 for imap or 993 for imap over ssl

Usage: telnet [-8] [-E] [-K] [-L] [-X atype] [-a] [-d] [-e char] [-k realm]
[-l user] [-f/-F] [-n tracefile] [-r] [-x] [host-name [port]]

Also Xinetd restart don't help

[root@server etc]# /etc/rc.d/init.d/xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]

Looks like that Imap isn't installed ?
Correct me if i'm wrong ..............

View 3 Replies View Related

Can't Connect To MySQL Server On 'localhost' (10055)

Jun 24, 2009

Do you guys know anything about this?

My server works perfectly with INSERT, UPDATE, DELETE for mysql.
but after like 12 hours later, my application crashes and I get this
"Can't connect to MySQL server on 'localhost' (10055)" and I would have to restart my applications and everything will be working perfectly.

Do you guys have any idea why this happen?

I do have a lot of connections coming in and out of my server. Would that mean anything?

View 9 Replies View Related

Sendmail Sends From Localhost.localdomain No Matter What I Try

Dec 18, 2007

I have these lines in sendmail.mc and I've compiled the sendmail.cf with them:

LOCAL_DOMAIN(`freesexdoor.com')dnl
MASQUERADE_AS(`freesexdoor.com')dnl
FEATURE(masquerade_envelope)dnl
MASQUERADE_DOMAIN(localhost)dnl
MASQUERADE_DOMAIN(localhost.localdomain)dnl

I have the users daemon, freesexd and root in the trusted_users file. I have restarted sendmail (using service sendmail restart). I have the domains: server.freesexdoor.com, freesexdoor.com and mail.freesexdoor.com in the sendmail's local_hosts file.

In Apache 2's httpd.conf, I have this: php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f freesexd [at} freesexdoor.com'

Yet when I sent an e-mail with php to advertising [at} freesexdoor.com, I got these headers in the e-mail, which don't look good to a spam filter:

Received: from localhost.localdomain (IS-3293 [127.0.0.1])
by localhost.localdomain (8.13.8/8.13.8) with ESMTP id

Received: (from daemon@localhost)
by localhost.localdomain (8.13.8/8.13.8/Submit) id

Message-Id: <200712180935.lBI9ZrRs005480@localhost.localdomain>

Additionally hotmail rejects my e-mails and it is obvious why. (My OpenSPF record is fine btw and on my former server I was able to send e-mails with it fine.)

Naturally I want something like "freesexdoor.com" to replace "localhost.localdomain" in those header lines. So how can I get this working?

The OS is CentOS 5 by the way.

View 6 Replies View Related

Access Denied For User 'root'@'localhost

Jun 8, 2007

I'm getting the error after running
[root@server ~]# mysqladmin processlist

Quote:

mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'

I'm running plesk on FC4.

Not too sure why it says failed or denied, as I'm root?

View 3 Replies View Related

Apache :: HTAccess Doesn't Work On Localhost

Mar 12, 2013

I need to modify a web that is working in the server. I'd like to download it to my computer and test it. For this reason I have to change the htaccess file to change the redirects, but it doesn't work, appears 404 error

This is the code.

RewriteEngine On #rewritecond %{http_host}
^camps.es [nc] rewritecond %{http_host}
^camps [nc] #rewriterule
^(.*)$ http://www.camps.es/$1 [r=301,nc] rewriterule
^(.*)$ http://localhost:8887/camps/$1 [r=301,nc]

View 3 Replies View Related

Apache :: Domain Name Doesn't Work On Localhost

Aug 4, 2013

I have a home server set up with a couple of things going. Here is the weird thing that I can't figure out. I can access everything just fine from an INTERNET connection external to my LAN using my domain name, let's say "domain.com". So, if I type into my computer on my LAN www.domain.com, it searches without actually finding it's destination giving up after a period of time saying the server cannot be found.

But, if I type www.domain.com on my mobile phone using my data connection, it connects without a hitch and everything functions fine. I have done this set up before at a different home, but since I moved, I have come across this problem and either don't remember having this happen before or don't remember what I did to resolve it. What I should look for?

View 5 Replies View Related

Apache :: Localhost Works - Remote Fails

Nov 22, 2013

My customer wants a Windows system - but I'm rusty at best in Windows.I downloaded VC11 x86 Thread Safe (2013-Nov-13 20:57:44), unpacked it, moved it to it's own directory, edited httpd.conf (no auto installation) and confirmed it was working (localhost/index.html)

I added PHP and ran a PHP info - a little trouble getting the php.ini found.Apache seems to work fine on the local system - either localhost/index.html or nn.nn.nn.nn/.But remote browsers timeout when attempting to connect.

1. I've opened command as administrator and run httpd.exe directly

2. I've installed httpd.exe as a service, opened it's properties window and started it from there

3. Changed the listen port to 8080

4. netstat sees the remote browser with a waiting connection - and the local service

5. The Windows system is on my Mac network (same systems where the remote browser is) and I have transferred megabytes of files between the two systems.

In Component Services - the Apache2.4 service shows Log On As 'Local Service' - I'm guessing it should show as 'Network Service.I tried changing this - used the local user login - restarted the service. I didn't see any way to change it to 'Network Service'. Perhaps this is the problem?

ODDLY - the remote browser worked briefly - then failed with the same 'time out'.I'm guessing this is something simple that I don't understand about Windows - (then again, since I don't understand much about Windows, it could be complicated too).

View 4 Replies View Related

Apache :: Localhost Is Randomly Loading Forever?

Mar 12, 2015

my local host is just taking incredibly long to load. At work I've set it up no differently and it works like a charm, but at home, it works.. But at times it doesnt load instantly until I restart my browser. I have to press refresh or enter to login a million times for it to load after the first few seconds I use it.

View 1 Replies View Related

Plesk 12.x / Linux :: PHP Could Not Connect To MySQL Over Localhost

Feb 6, 2015

I have a problem with connection to MySQL database over PHP.

If I define host address '127.0.0.1' works well. Problem occurs if host address is 'localhost'.

How to allow both 'localhost' and '127.0.0.1'?

View 1 Replies View Related

Plesk 11.x / Windows :: Horde Localhost Configuration

Apr 2, 2014

In horde how we can configure that it will send email using the logged in user login to authenticate and send the email, currently it using localhost to send the emails.

View 1 Replies View Related

Installed Apache Can Access Via LAN IP + Localhost But WAN IP Doesnt Work

Oct 30, 2008

I'm on windows vista. I've got an SDSL line into the house with a dedicated IP 62.etc. I've then got a Prestige 791R and all PC's plugged in to that. I've also got a wireless router for my Wii set up.

Basically I've set up this DHCP thingy to start at 192.etc.3 and the Wireless router is at 192.etc.1 and the Prestige is at 192.etc.2 my pc is at 192.etc.9

This is about where my knowledge stops unfortunately.

I have installed apache as the most basic default install I think you can and it seems to be working absolutely fine. I'm assuming I could also install PHP and MySQL etc and wouldn't have too much of a problem, however, my friend cannot seem to access the environment from the WAN IP and when I type in my WAN IP I get the prestige router's control panel.

I read somewhere that I needed to forward port 80, now I can 'open' ports in the prestige control panel but I did try opening port 80 in the control panel and pointing it to my LAN IP (92.etc.9) but it didn't seem to work.

I'm at a bit of a loss so if anyone could point me in the right direction I would be most grateful, just to clarify:

//localhost loads the html file 100%
//192.etc.9 loads the html file 100%
//62.WANIP internally loads my prestige routers control panel
//62.WANIP externally does not load a page (cannot be found)

If you need any more info just let me know and I'll get it.

View 0 Replies View Related

MS Virtual PC - How To Access My Localhost (Apache) Subdomains On Guest OS?

Mar 23, 2007

I've just downloaded Microsoft Virtual PC and the Internet Explorer 6 Application Compatibility VPC Image containing an XP installation for testing sites with IE6 [url].

Everything works fine, I chose VPC Shared Networking (NAT) and I can access the internet from the VPC as well as my Apache development server which runs on the host OS (Win XP) by going to the host's IP address which is [url] in my case. And here I have 2 problems:

1. I want to access [url]on VPC just by typing [url]. I added the following line to the hosts file:

192.168.52.141 localhost

But this doesn't work. Interestingly, any name other than localhost works fine, for example:

192.168.52.141 localhost.localhost
or
192.168.52.141 local

This is not a major problem but I'd prefer localhost. Any ideas how to do that?

2. And the more important issue: on my host OS I have some development sites which I have set up to be accessed by subdomains, for example [url], in httpd.conf:

Code:
<VirtualHost 127.0.0.3>
ServerName perfekt.localhost
DocumentRoot C:wwwperfekt
DirectoryIndex index.php index.html
</VirtualHost>
and in hosts file:

Code:
127.0.0.3 perfekt perfekt.localhost
And now I want to access this site from my VPC too by using subdomains like this! How can I do that? The address 127.0.0.3 seems to be local to the OS and VPC can't see it. I have tried setting other IP addesses in httpd.conf but nothing outside the 127.x.x.x range works on either OS. I suppose I need to make each of my sites to be seen under a different IP from the outside network so that VPC (which is "outside" the host OS) can access them - then I just set up the appropriate subdomain names in VPC hosts file -

View 0 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved