Skip to main content
Known Participant
March 27, 2009
Question

Administrator will not load

  • March 27, 2009
  • 4 replies
  • 2743 views
I cannot start CF8 on XPPro because port 51800 is not available. I can't figure out where to go to find port 51800. I read some of the pages on this issue, but a path wasn't clear to me. Have any of you run into this and what did you do to work around this? Thanks, Karolus
This topic has been closed for replies.

4 replies

KarolusAuthor
Known Participant
April 1, 2009
I tried this approach, but it didn't work. Here is the error message I got.
"Could not connect to any JRun/Coldfusion servers on host localhost"
What should I do next?
Participant
April 25, 2009

Hello,

Like mentioned above, it sounds like you do not have a web server currently installed to run Coldfusion.  To find out which ports are listening for Coldfusion currently, do the following:

Open up windows Task Manager
Select Columns
Choose PID check box
Find out which PID jrun.exe is running under
Open command prompt (run -> cmd)
Type netstat -ano | find "" (replace jrun.exe PID with the actualy process ID)

This should show the listening and establish ports that Coldfusion is currently running on.  It may list what localhost is running on (127.0.0.1) but it still sounds like you need to first install a web server.  I would reinstall Coldfusion choosing to include the web server or possibly another web server such as IIS:

http://www.webwizguide.com/kb/asp_tutorials/installing_iis_winXP_pro.asp

Then configure jrun to work in IIS:

http://www.adobe.com/livedocs/coldfusion/5.0/Installing_and_Configuring_ColdFusion_Server/wininstall5.htm#1098313

Matt Pellegrino
Support Engineer
mpellegrino AT hostmysite.com
HostMySite.com
Need New Hosting?

BKBK
Community Expert
Community Expert
March 29, 2009
I hope you did put the 8500 back where you removed it. In fact, put everything back as it was, and lets's start over.

It could be that, during installation, you didn't configure a web server for Coldfusion. A good place to start is to configure Coldfusion to use the built-in JRun web server.

To do so, launch C:\ColdFusion8\runtime\bin\wsconfig.exe. A user interface should appear.

Click on the Add button. The interface Add Web Server Configuration should appear. The values for JRun Host and JRun Server should be respectively localhost and coldfusion. Press OK and then Exit. Restart Coldfusion.

Try that first. If it fails, there is yet another way, by means of the above XML file.

BKBK
Community Expert
Community Expert
March 28, 2009
If Coldfusion still complains about the port, then configure XP's firewall to allow port 51800. It is probably the default broadcast port for the JRun server. To verify this, open the following file in a text editor:

C:\Coldfusion8\runtime\servers\coldfusion\SERVER-INF\jrun.xml

Locate the element <attribute name="port"> nested within the element <service class="jrun.servlet.jrpp.JRunProxyService" name="ProxyService">. It is around 20 lines from the end. You will find that it has a value 51800.

Proceed as follows to open the port in XP's firewall.

1. Click on Start and then on Control Panel
2. Click on Windows Security Center
3. Click on Windows Firewall to open the firewall
4. Click on the Exceptions tab
5. Click on Add Port
6. In the Name field, type a name, for example, JRun
7. In the Port number field, type 51800
8. Press OK and you're done.

Restart Coldfusion. Click again on the link I gave earlier.

KarolusAuthor
Known Participant
March 28, 2009
Thanks much for your advice.
I tried the following:
1. Your advice didn't work.
2. I took Windows Firewall offline...doesn't work
3. I changed the "jrun.xml" proxy service to 51800 (It was at 8500)...doesn't work
Any other thoughts?
KarolusAuthor
Known Participant
March 28, 2009
When I try to load the administrator (127.0.0.1:8500), I am presented with the option to open the file "Index.cfm"...if I say open the file, Homesite opens the file. I hope this information helps. Karolus
BKBK
Community Expert
Community Expert
March 28, 2009