IP addresses for all incoming TCP connections are logged by the syslog service, at the daemon.notice facility and level. The information is located in /var/adm/messages, unless you changed the local syslog.conf file setup. Note that changing the syslog.conf file setup can affect where this information is stored. For more details, see the syslog.conf(4) man page.
Set TCP tracing to TRUE (enabled) for all services that are managed by the inetd daemon as follows:
# inetadm -M tcp_trace=TRUE