Jump to content
The Uniform Server Community
ganymede100

Uniserver Running but Can't find Localhost

Recommended Posts

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

Share this post


Link to post
Share on other sites

“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:

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

;)

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...