Jump to content
The Uniform Server Community
Sign in to follow this  
Dragosvr92

How do you change the UNIserver port?

Recommended Posts

Hello,

 

I havent been using UNIserver in a while, and meanwhile, ive got a router and updated to Windows 10 64bit.

 

When i try to run UniController (v1.2.0.11), i am told port 80 is in use by another program, and i am instructed to change the uni server port.

But it provides no instructions as to how i would be able to do that. Kept Googling but theres nothing straight forward.

 

I got across this page, and scanned for port 80 and it returned this:

>netstat -ano | find "LISTENING" | find ":80"
  TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       4
  TCP    [::]:80                [::]:0                 LISTENING       4

Not sure what thats saying, i guess port 80 is in use by the router, or an w10 service.

 

Either way, i would like to change the uniserver port to something else and get it working again.

Thank you :)

 

Btw, after i posted this message, i got;

An error occured with the SQL server:

mySQL query error: SELECT cs_value, cs_updated FROM ibf_cache_store WHERE cs_key='mail_processing'

This is not a problem with the IPS Community Suite but rather with your SQL server. Please contact your host and copy the message shown above.

 

But it seemed to get posted.

Share this post


Link to post
Share on other sites

I just got the server to run on my Windows 10, 64 bit system, and it took a little bit of fooling around. When I clicked on the UniController, it gave the errors that port 80 was already in use. Every time you start your machine, Windows 10 will likely start IIS, which I believe opens port 80, so, you either have to turn off IIS, or change the port in Uniform Server. (but of course, if you can't get to the controller to change the port, you're stuck).



IIS, the World Wide Web Publishing Service is more than likely the culprit.



Here's what I did -



- go to: Control Panel > Administrative Tools > Services > scroll to the bottom and right click on World Wide Web Publishing Service > select Properties


- click Stop


- in Startup type: select Manual


- click Apply and then OK


- make sure that the UniController is also not running (if it is, you can stop it in this same window).


- click on the UniController again (right click, open as Administrator), and it should open the controller correctly this time


- change the port to anything but 80 and you should be OK.



Let me know if this works.


(you may want to change your profile to Windows 10, as W7 has different menu's/etc)


Share this post


Link to post
Share on other sites

After i finally manage to find Control Panel > Administrative Tools > Services >

I couldnt find World Wide Web Publishing Service in there. But, a day after i posted this, i reinstalled W10 and kept the files and had it dump all programs and settings.

 

I thought doing that may have fixed it, and it appears it did. I think the devs should add an option where to change the ports if you are unable to clear port 80 to run the aplication.

 

Btw, do you by any chanche know how i could set uniserver to remember my mysql pass? Each time i start the service, it asks to retype the password.

Share this post


Link to post
Share on other sites

1. If it's a default Win 10 Home / Pro version, WWW Publishing will be in the Services list, near the bottom ... see screenshot :)

 

2. The devs do have the option built in to change the ports :) From the UniController (Note - Apache must be stopped to make the change): Apache > Change Apache Ports > Change Apache Port > enter port number > click OK :)

 

3. See my last reply in this thread: http://forum.uniformserver.com/index.php?showtopic=3087&hl=

 

 

 

MT66db7.png

Share this post


Link to post
Share on other sites

The Console will not start because Port 80 is being used by some other service.

You should change the default port for Apache.

You can't get access to Change Apache Ports until the Console is running.

 

The Console will not start because Port 80 is being used by some other service.

You should change the default port for Apache.

You can't get access to Change Apache Ports until the Console is running.

 

Any help?

 

Share this post


Link to post
Share on other sites

You can manually change the ports in UniServerZ\home\us_config\us_user.ini

 

Eg:

 

[uSER]
;
;-- Apache
;
AP_PORT=8080
AP_SSL_PORT=9443

Share this post


Link to post
Share on other sites
The Console will not start because Port 80 is being used by some other service.

You should change the default port for Apache.

You can't get access to Change Apache Ports until the Console is running.

 

This is a bug. The controller should remain open allowing the ports to be changed.

Corrected in version 12.0.1-ZeroXII and new controller ZeroXII_controller_2_1_0.exe

 

To update an existing server:

Copy ZeroXII_controller_2_1_0.exe to a temporary folder.

Double click on the above file to extract its content.

Copy the extracted file UniController.exe to your existing server.

Delete the temporary folder its no longer required.

 

All the best

Ric

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...
Sign in to follow this  

×
×
  • Create New...