As Salvin mentioned - your need to specify the proper IP address (or FQDN) and TCP port for the SMTP server. You have specified the localhost:8080, which is the IP address and port number for your HTTP server. Do you have a local SMTP server? Which port is it listening on (standard ports are 25 and 587)?
What happened with your other topic similar to this one:
Emailing from a Servlet?