Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

Re: FN-FORUM: Testing Server Crashed

date posted 24th November 2005 17:38

The router is giving your PC a DHCP address. If you have a NIC, the IP
address is associated with the computer's name - it is always *also*
localhost and 127.0.0.1. That's how TCP/IP and netbios over TCP/IP works.
127.0.0.1 is a special "fake" ip address called the loopback address used
for testing etc. It exists if TCP/IP is installed even if there is no
physical network card.

I don't use DW and I've always had a network, so I know that I have be
consistent and refer EITHER to localhost/127.0.0.1 OR to pcname/IP address.
Typing http://localhost should always work.

I suspect it just takes time for mySQL and DW to "notice" the change. Your
internal DNS resolver cache may have had the wrong address - it's often
worth typing ipconfig /flushhdns at a command prompt.

Anyway, as long as it works! If it's a server, it might be happier with a
static IP address unless your router allows you to make DHCP reservations
based on MAC address (identity number of network card)

I'd avoid turning the router off and on as well, so that environment stays
the same.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Kathy
http://www.vendetta.co.uk
+44(0)7005 982 261
DNRC Minister for Useful but Irritating Information and Trivia
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

----- Original Message -----
From: [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Thursday, November 24, 2005 2:37 PM
Subject: Re: FN-FORUM: Testing Server Crashed


>
> Hello Kathy,
>
> Your right I had the same router but connect via a powered USB hub. I have
> now installed a Ethernet card, and use this only for my broadband
> connection.
>
> The MySQL sever is on my box, not the hosting companies. If I turn the
> router off, the MySQL server shows: david 127.0.0.1 as being localhost,
when
> I turn the router on, this changes to 192.168.1.4, still showing david
> [boxes name].
>
> The problem I had was, I couldn't get DW to display any files via IE, nor
> connect to the MySQL server. All my sites files are in DW which uses
> localhost to connect to my testing server, and they all stopped working.
>
> I've now got them working again, the problem is I don't know HOW!, so if
> this occurs again I have no idea how to resolve it.
>
> I altered some connection criteria in DW , but have put them all back, and
> it still works. The only I thing I did do differently was turn off the
> router, so not sure if that alone could have sorted it. But the actual IP
> shown in MySQL does change, depending whether the router is on or not.
>
> I tried binding address my.ini to 127.0.0.1, and checked HOST in
C:\windows,
> which shows localhost as being 127.0.0.1. So have no idea what the problem
> was?
>
> DG)
> ----- Original Message -----
> From: "Lists" [EMAIL REMOVED]
> To: [EMAIL REMOVED]
> Sent: Thursday, November 24, 2005 12:30 PM
> Subject: Re: FN-FORUM: Testing Server Crashed
>
>
> >
> > Try explaining that again.
> >
> > As I understand it, you had a USB modem. Now you have a router and a NIC
> in
> > the PC.
> >
> > If the PC has a NIC, it will have TWO ip addresses (sort of) - 127.0.0.1
> > (which is ALWAYS localhost - the PC itself) and something else (eg
> > 192.168.0.3). This should NOT be the same as the router or the default
> > gateway. If you have more than one PC, and have ICS enabled, there are
> other
> > considerations. Please post the result of ipconfig /all on all PCs you
> have
> > and state which one the SQL server is on.
> >
> > You could try just referring to the PC consistently either by the same
ip
> > address every time(either) or by name or as localhost.
> >
> > All my IIS/MSDE installations work as PCNAME, IP address or localhost.
If
> > you mix, you'll find that localhost=127.0.0.1 and PCNAME=real IP
address.
> > That's how it works.
> >
> > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> > Kathy
> > http://www.vendetta.co.uk
> > +44(0)7005 982 261
> > DNRC Minister for Useful but Irritating Information and Trivia
> > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >
> > ----- Original Message -----
> > From: [EMAIL REMOVED]
> > To: [EMAIL REMOVED]
> > Sent: Tuesday, November 22, 2005 1:59 PM
> > Subject: FN-FORUM: Testing Server Crashed
> >
> >
> > >
> > > Hello,
> > >
> > > Just moved my router from powered USB, to Ethernet board. Now all of
my
> > > testing server has crashed, this consists of:
> > >
> > > Apache2
> > > php4
> > > Perl5 and
> > > MySQL 4.1 beta.
> > >
> > > I think the MySQL server gives a hint as to why, but how to repair
it...
> > >
> > > MySql server has suddenly acquired a new IP address, whereas before it
> was
> > > Local Host: 127.0.0.1 DAVID,
> > > Now it's the same as the router gateway.
> > >
> > > How can I get my box back to 127.0.0.1 and using the box's name...
> > >
> > > DG)
> > >
> > >
> > > --
> > > Freelancers, contractors earn more with Prosperity4
> > > Call 0870 870 4414 or visit www.prosperity4.com
> > > and benefit from Inland Revenue approved expenses today.
> > >
> > > To advertise here: http://www.freelancers.net/advertising.html
> > >
> > >
> > --
> > Freelancers, contractors earn more with Prosperity4
> > Call 0870 870 4414 or visit www.prosperity4.com
> > and benefit from Inland Revenue approved expenses today.
> >
> > To advertise here: http://www.freelancers.net/advertising.html
> >
> >
> --
> Freelancers, contractors earn more with Prosperity4
> Call 0870 870 4414 or visit www.prosperity4.com
> and benefit from Inland Revenue approved expenses today.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
>



Messages by Day
November 30th 2005
November 29th 2005
November 28th 2005
November 27th 2005
November 26th 2005
November 25th 2005
November 24th 2005
November 23rd 2005
November 22nd 2005
November 21st 2005
November 20th 2005
November 19th 2005
November 18th 2005
November 17th 2005
November 16th 2005
November 15th 2005
November 14th 2005
November 13th 2005
November 12th 2005
November 11th 2005
November 10th 2005
November 9th 2005
November 8th 2005
November 7th 2005
November 6th 2005
November 5th 2005
November 4th 2005
November 3rd 2005
November 2nd 2005
November 1st 2005


Messages by Month
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000