Cli

I am a newbie to RT, I have setup RT and everything is working 100% via the
browser. I have configured my apache for port 8080 but when I try to use the
CLI I get the following error -

rt: Server error: Can’t connect to localhost:80 (connect: Connection
refused) (500). I have set the webport in RT_SiteConfig.pm to 8080. Ho do I
tell CLI to use port 8080?

thanks

I am a newbie to RT, I have setup RT and everything is working 100% via the
browser. I have configured my apache for port 8080 but when I try to use the
CLI I get the following error -

rt: Server error: Can’t connect to localhost:80 (connect: Connection
refused) (500). I have set the webport in RT_SiteConfig.pm to 8080. Ho do I
tell CLI to use port 8080?

rt help config

should tell you what you need to know.

Best,
Jesse

David-John Engel wrote:

I am a newbie to RT, I have setup RT and everything is working 100%
via the browser. I have configured my apache for port 8080 but when I
try to use the CLI I get the following error -

rt: Server error: Can’t connect to localhost:80 (connect: Connection
refused) (500). I have set the webport in RT_SiteConfig.pm to 8080. Ho
do I tell CLI to use port 8080?

thanks

try:
“rt help config”

you can…

edit/create /etc/rt.conf and put in something like:
server http://localhost:8080

or set the variable RTSERVER to “http://localhost:8080

.r’