Thanks for the suggestion, that makes sense to me, but since I'm using the
embedded Tomcat, where would I find the server.xml file?

I've tried setting 'server.address=127.0.0.1', which is suggested for
standard Spring boot applications, but it doesn't work for me.


On Wed, Jul 22, 2020 at 1:30 AM indiandefence <[email protected]>
wrote:

> Max,
> If you want tomcat to listen on localhost only then edit server.xml file
> and add the address to the connector, and do the same for 8443 connector.
> ex:
> <Connector port="8080" protocol="HTTP/1.1" address="127.0.0.1"
> connectionTimeout="20000" redirectPort="8443" />
>
> Then in HTTP proxy config use https://localhost:8443 .
>
> In cas.properties you can specify with  "cas.server.name=
> https://localhost:8443"; variable.
>
>
>
>
>
> On Wednesday, July 22, 2020 at 1:49:15 AM UTC+5:30 Dylan Maxwell wrote:
>
>> Hi CAS Users,
>>
>> I'm serving CAS via an HTTP proxy, is it possible to bind the embedded
>> tomcat server to localhost only?
>>
>> I found configuration properties, server.port and
>> cas.server.tomcat.http.port, but I don't see an associated server.address
>> or server.host or cas.server.tomcat.http.address?
>>
>> Any help would be appreciated.
>>
>> Thanks,
>> -Dylan
>>
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CABwkLcs4pjyPTYA%3Dq874WyQJ3UYwnX1%3DQN_-EjHzo1bE-5hMPA%40mail.gmail.com.

Reply via email to