Forums Archived

This forum has been archived. No new posts can be made and no new users can sign up. It remains here for reference only.

Find the new forums here

Web Service Not Working

  • 1.4K Views
  • Last Post 31 December 2021
  • Topic Is Solved
FreakStyle posted this 17 August 2017

So I have installed AMP on my Cloud Server, created an instance and when I go the IP/Port via the web page it doesn't work page doesn't load says check proxy settings. Ports are forwarded properly and allowed through the firewall. Back when I had McMyAdmin installed I stopped using it and went to AMP and it actually worked for a short bit, after making the new Cloud Server and re-installing AMP with my license the web services aren't working. Yes the service is running & the Instance is running as well.

Order By: Standard | Newest | Votes
Mike posted this 17 August 2017

Sanity check - see if the port you're using shows up in netstat -lnt | grep 8080 replacing 8080 with your port number as necessary.

FreakStyle posted this 17 August 2017

Sanity check - see if the port you're using shows up in netstat -lnt | grep 8080 replacing 8080 with your port number as necessary.

Wouldn't let me run that command, so I just did netstat and view all of them and I am using 8080 as of right now and it doesn't show up in the list.

FreakStyle posted this 17 August 2017

PS: I also did netstat -na | find "8080" nothing comes up

When I run it on port 80 where I actually installed XAMPP to see if it was something else I do get feedback when I looked up port 80

Mike posted this 17 August 2017

AMP cannot run on port 80, you must use a port number higher than 1024. Make sure the port number you pick is not being used by anything else.

FreakStyle posted this 17 August 2017

AMP cannot run on port 80, you must use a port number higher than 1024. Make sure the port number you pick is not being used by anything else.

It isn't being run on port 80 it's using port 8080, and only other thing installed on the server is a MC Sky Factory 3 server which is using port 25566.

AMP Instance Manager

Netstat -a #1

Netstat -a #1

Mike posted this 17 August 2017

Ah you didn't say you were on windows (read this next time please! - https://support.cubecoders.com/thread/read-me-first-how-to-get-an-answer-quickly/ ) Right, it's not listening then which means it's not running. Check the log file for the instance (browse datastore in the instance manager) and see what it's unhappy about.

FreakStyle posted this 17 August 2017

Don't see any logs besides some install logs which doesn't give much information.

AMPService.InstallLog:

Installing assembly 'C:\Users\Administrator\AppData\Local\CubeCoders\AMP\Instances\1-Minecraft\AMPService.exe'. Affected parameters are: logtoconsole = assemblypath = C:\Users\Administrator\AppData\Local\CubeCoders\AMP\Instances\1-Minecraft\AMPService.exe logfile = C:\Users\Administrator\AppData\Local\CubeCoders\AMP\Instances\1-Minecraft\AMPService.InstallLog svcname = 1-Minecraft auto = False Installing service AMP-1-Minecraft... Service AMP-1-Minecraft has been successfully installed. Creating EventLog source AMP-1-Minecraft in log Application... Committing assembly 'C:\Users\Administrator\AppData\Local\CubeCoders\AMP\Instances\1-Minecraft\AMPService.exe'. Affected parameters are: logtoconsole = assemblypath = C:\Users\Administrator\AppData\Local\CubeCoders\AMP\Instances\1-Minecraft\AMPService.exe logfile = C:\Users\Administrator\AppData\Local\CubeCoders\AMP\Instances\1-Minecraft\AMPService.InstallLog svcname = 1-Minecraft auto = False

InstallUtil.InstallLog:

Running a transacted installation.

Beginning the Install phase of the installation. See the contents of the log file for the C:\Users\Administrator\AppData\Local\CubeCoders\AMP\Instances\1-Minecraft\AMPService.exe assembly's progress. The file is located at C:\Users\Administrator\AppData\Local\CubeCoders\AMP\Instances\1-Minecraft\AMPService.InstallLog.

The Install phase completed successfully, and the Commit phase is beginning. See the contents of the log file for the C:\Users\Administrator\AppData\Local\CubeCoders\AMP\Instances\1-Minecraft\AMPService.exe assembly's progress. The file is located at C:\Users\Administrator\AppData\Local\CubeCoders\AMP\Instances\1-Minecraft\AMPService.InstallLog.

The Commit phase completed successfully.

The transacted install has completed.

Anding if I just hit "View Logs" under the instance it just crashes the application

Mike posted this 17 August 2017

In the instance manager you right click the instance and hit "View Datastore", once it opens up the directory there's an AMP_Logs directory.

FreakStyle posted this 18 August 2017

No directory exists for me. under the CubeCoders directory at all least within AppData

marellan posted this 18 August 2017

No directory exists for me. under the CubeCoders directory at all least within AppData

This shouldn't be possible... do you not see the folder for your instance?

FreakStyle posted this 18 August 2017

That is correct and it isn't letting me add images or links to share.

FreakStyle posted this 18 August 2017

Since it isn't letting me post a screen shot I have to do this

prnt.sc/ (ERASE THIS)g9xg22

just remove " (ERASE THIS)" from the URL to see the screenshot.

Mike posted this 18 August 2017

Remove the instances, uninstall AMP then re-install it with a datastore directory that's not inside the Administrator users home area. Put it somewhere like C:\AMPInstances\ instead. You're probably running into permissions issue, which is why the install guide says not to use the Administrator user.

FreakStyle posted this 18 August 2017

So I've done that and now the instance won't even start still no AMP Log folder, I created a new user who doesn't have admin access and every time I try to start an instance with that user the program crashes "AMP Core Runtime has stopped working"

Mike posted this 18 August 2017

Try installing this: https://www.microsoft.com/en-gb/download/details.aspx?id=53345

FreakStyle posted this 18 August 2017

That ended up working after I deleted the instance and created a new one, thanks a lot for the help!

lordnex posted this 31 December 2021

I have this issue but in Linux Unbuntu Server 202.04.3

Any suggestions?

lordnex posted this 31 December 2021

Ended up just running

ampinstmgr quickstart USER PASSWORD

Close