log connections to a port (3700, CORBA lookup in Glassfish)

Thufir hawat.thufir at gmail.com
Fri Feb 27 20:57:48 UTC 2015


Is port 3700 actually open?  It seems to be:

thufir at doge:~$ 
thufir at doge:~$ nmap localhost -p 3700

Starting Nmap 6.46 ( http://nmap.org ) at 2015-02-27 12:52 PST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000026s latency).
PORT     STATE  SERVICE
3700/tcp closed lrs-paging

Nmap done: 1 IP address (1 host up) scanned in 0.03 seconds
thufir at doge:~$ 

thufir at doge:~$ 
thufir at doge:~$ glassfish-4.1/glassfish/bin/asadmin start-domain
Waiting for domain1 to start ........................^T. 
Successfully started the domain : domain1
domain  Location: /home/thufir/glassfish-4.1/glassfish/domains/domain1
Log File: /home/thufir/glassfish-4.1/glassfish/domains/domain1/logs/
server.log
Admin Port: 4848
Command start-domain executed successfully.
thufir at doge:~$ 
thufir at doge:~$ nmap localhost -p 3700

Starting Nmap 6.46 ( http://nmap.org ) at 2015-02-27 12:54 PST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000021s latency).
PORT     STATE SERVICE
3700/tcp open  lrs-paging

Nmap done: 1 IP address (1 host up) scanned in 0.03 seconds
thufir at doge:~$ 



can I log connections to it, so that I can see the attempts by 
192.168.1.2 (tleilax) connect?  (CORBA on glassfish.)



thanks,

Thufi





More information about the ubuntu-users mailing list