Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

DNS Issues under Windows 7

Featured Replies

I'm attempting to move from 4.3(Mona) on Windows XP to 5.6.7(Nano) on Windows7 but I've run into a few snags.

 

The first one was the "LOCALHOST" not working for MYSQL bug which has been reported here before - replacing references to "LOCALHOST" with "127.0.0.1" works fine.

 

The next problem relates to using CURL in PHP. It seems there's no DNS resolution for CURL so it cannot connect to any external websites by name - only by IP.

 

I suspect these issues are related - something in W7 is blocking access to DNS resolution in some way??

 

All I've tried thusfar is disabling the Windows Firewall and that makes no difference so I'm open to suggestions.

The two issues are unrelated.

MySQL localhost replace with "127.0.0.1" is the preferred solution for W7.

 

Since CURL works with an IP address your server is working correctly.

I agree with you it looks like a W7 DNS resolution issue.

 

I have no idea how to resolve it perhaps this link may be of use:

http://social.technet.microsoft.com/Forums...98-80cf211878d7

 

All the best

Ric :angry:

  • Author

I should emphasise the PC has no problems connecting to and using DNS for everything else - it's only CURL within PHP which seems unable to resolve servernames.

 

PHP's own file_get_contents() works fine so it's clearly a specific issue somewhere???

OK run server status

Check the first line; is an IP address displayed.

All the best

Ric :angry:

  • Author

OK run server status

Check the first line; is an IP address displayed.

All the best

Ric :)

Yup - it is.

 

It also seems that either a reinstall or restart (I did both) has resolved this - although I've had a couple of "could not connect" errors since, nothing which didn't go away on a reload...

 

Thanks for the help!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.