web server port number vanishing

Hi all -

I’ve got a REALLY old legacy app I’m fixing for a client. Like cfincludes and ACF8 old. We set up CommandBox with Lucee 5 and so far it starts to spin up (yay!)

I have server.json set to use port 8080. Manually going to localhost:8080 works fine of course. Clicking on any links (or using cflocation) in the app bounces it back to port 80. For reference, server.json looks like so:

{
“web”:{
“host”:“localhost”,
“webroot”:".",
“http”:{
“port”:“8080”
}
},
“app”:{
“cfengine”:“lucee@5”
}
}

I’m going to blame the gigantic pile of cold-flu-craziness I’m still getting over and assume it’s probably something obvious/simple that I’m forgetting. Any ideas?

Thanks,

Nolan

Why don’t you try to set port 80?

Apart froom this, try to set url:

The links don’t have :8080 in them so are defaulting to 80?

The links don’t have :8080 in them so are defaulting to 80?

Thanks, Brad. Yeah I think this code is just too old; I was able to refactor things a bit and get it limping along on CommandBox.

best,

nolan