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.

Uniserver Running but Can't find Localhost

Featured Replies

Hi All,

 

I have been using Uniserver at college and it works most of the time.

 

I have no such luck at home.

 

I ran the .exe file for version 5.3 and 5.4 and get the same result - localhost not found after I try and start Uniserver(APche MySQL) or try to goto to phpMyAdmin page or the Admin Panel etc. The redirect.html page 'purple screen' appears and then when the redirect happens i get a 'page not found'

 

I have AVG installed and stopped that as I thought it might be messing with things but no change happened.

 

I notice when I go to the Server Status page that there is an IP address that appears when I run at home and not one when I run from college.

 

Any assistance appreciated.

 

Regards,

Mike

“I notice when I go to the Server Status page that there is an IP address that appears when I run at home and not one when I run from college.”

 

Your college local area network is not accessible from the Internet hence no IP displayed. However your home network is hence an IP address displayed. If your servers are online any user on the Internet can access your server using that IP address.

 

“The redirect.html page 'purple screen' appears and then when the redirect happens i get a 'page not found' “

 

I assume after running “Server Status page” it displays servers are running?

 

With servers running try typing http://127.0.0.1/ or http://127.0.0.1/apanel/ into your browser. Are the appropriate pages displayed?

 

If pages are displayed check the following file:

C:\WINDOWS\system32\drivers\etc\hosts

 

This should contain the following line if not add it:

127.0.0.1 localhost

 

If you have a line similar to this comment it out

::1 localhost

for example add hash as shown

# ::1 localhost

 

If it still fails check Apache’s log file:

UniServer\usr\local\apache2\logs\error.log

 

All the best

Ric :rolleyes:

  • Author

Thx Ric.

 

By adding the IP address in the host file it did the trick.

 

 

Once again thanks so much.

 

Cheers,

Mike

I'm having the exact same issues. I tried this fix, but it still didn't work. I'm on Windows 7 but I'm guessing it should work the same as Vista.

 

Any advice is greatly appreciated.

 

THANKS!

  • 1 month later...

;)

This is one pretty happy user. I edited the hosts file in Windows 7 as per instructions. It works perfectly. Time for some web testing now......

 

Sincerely

Adam Steele.

  • 7 months later...

I have the same problem. The Apache is running, but in diagnostic says that is not. The port is set to 80 and nothing appears in Browser.post-4244-1282657335_thumb.jpg

  • 2 weeks later...

I had the same problem. It may be related to UAC in Windows 7. I was able to resolve the problem using the information in this post. See the last reply in this post.

 

http://forum.uniformserver.com/index.php?s...p;hl=windows+7#

 

Basically do the following:

Go to %USinstalldir%

Rightclick on start.exe

Select "Run as administrator".

I did this and US 5.6.12 runs under Windows 7.

  • 3 months later...

This is great for getting Apache going right, but watch out for "IPv6 localhost" and MySQL. On Windows 7, you may need to use 127.0.0.1 instead of localhost when setting up the MySQL connection for apps. While there are other ways to get it working right, this should cover most cases. It's due to MS's change for IPv6 and localhost.

See the wiki for a bit more info: http://wiki.uniformserver.com/index.php/5....o:_Known_Issues

Regards,

BobS

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.