cancel
Showing results for 
Search instead for 
Did you mean: 

Changing ports for Package Server

Former Member
0 Kudos

I was able to successfully install Afaria 7 and enroll Android devices onto the server.

However, I'm having issues now accessing my applications because the Package Server I installed is defaulted to port 8080. This conflicts with one of my other SAP product servers.

I tried changing this line in the /ps/web.config file:

<add key="BackEndPackageServerPort" value="8080"/>

I changed it to 8082, which is an open port when I tested using netstat -aon | find /i "8082"

I also changed the configuration for the Package Server in the Afaria Admin Console by adding :8082 to the end of my server address.

But when I query port 8080 or 8082, the Afaria Backend Portal Package Server service is not found.

Is there a way to change the port of the Package Server from its default port 8080?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I was able to solve this issue by following these steps:

1.Stop IIS, either using the command "iisreset /stop" or by
highlighting the Default Web Site in IIS and selecting the Stop icon.
2.Stop the Afaria Backend Portal Package Server service.
3.With Notepad or similar text editor, navigate to
C:\Program Files\PackageServer\Bin and open the file
BackEndPackageServer.exe.config.
4.Find the line that contains the key "BackEndPackageServerPort" and
change the value from 8080 to your desired, available port value.
Note: If IIS is running on something other then port 80, find the line
that contains the key "FrontEndPackageServerPort" and change that
value to match the IIS port at this time.
5.With Notepad or similar text editor, navigate to
C:\Program Files\PackageServer\ps and open the file Web.config.
6.Find the line that contains the key "BackEndPackageServerPort" and
change the value from 8080 to the same available port value set in
step 2 above.
7.In the registry for the Package Server, update the key
HKLM\Software\Afaria\Afaria\PackageServerInstall [psPort] to your new
value.
8.Start IIS, either using the command "iisreset /start" or by
highlighting the Default Web Site in IIS and selecting the Start icon.
9.Start the Afaria Backend Portal Package Server service.
The backend process will now be listening on the new port.
Alternatively you can just install the component again and change it
there

Answers (1)

Answers (1)

Former Member
0 Kudos

HI,

Are you using relay server or direct connection between server and device.

Try this

Change the port to 80 in package server instead of 8082 in backendpackageserver.

Change the portal package server port in afaria console setting.

Restart the services of backend portal