Changes between Version 10 and Version 11 of UbuntuRunningDeepaMehtaAsDaemon
- Timestamp:
- 03.09.2011 14:19:48 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UbuntuRunningDeepaMehtaAsDaemon
v10 v11 252 252 }}} 253 253 254 Check if jetty is listening on port 8080:254 Check (on the machine) if jetty is listening on port 8080: 255 255 {{{ 256 256 nmap localhost -p 8080 … … 261 261 Interesting ports on localhost.localdomain (127.0.0.1): 262 262 PORT STATE SERVICE 263 8080/tcp open unknown263 8080/tcp open http-proxy 264 264 265 265 Nmap done: 1 IP address (1 host up) scanned in 0.05 seconds 266 266 }}} 267 268 Drop incoming requests on port 8080: 269 {{{ 270 iptables -A INPUT ! -s 127.0.0.1 -p tcp --destination-port 8080 -j DROP 271 }}} 272 273 Check (from a remote client machine) if jetty is securely blocked: 274 {{{ 275 nmap deepamehta.yourdomain.tld -p 8080 276 }}} 277 should return 278 {{{ 279 Starting Nmap 5.00 ( http://nmap.org ) at 2011-09-02 22:17 CEST 280 Interesting ports on deepamehta.yourdomain.tld (xxx.xxx.xxx.xxx): 281 PORT STATE SERVICE 282 8080/tcp filtered http-proxy 283 284 Nmap done: 1 IP address (1 host up) scanned in 0.53 seconds 285 }}} 286 267 287 268 288 That's it. :)