java.net.UnknownHostException: smtp-smtp.gmail.com > at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177) > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) > at java.net.Socket.connect(Socket.java:520) > at java.net.Socket.connect(Socket.java:470) > at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:284) >

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via roller-user by Marcos Soler, 4 months ago
smtp-smtp.gmail.com >> at > java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177) >> at > java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) >> at > java.net.Socket.connect(Socket.java:520) >> at > java.net.Socket.connect(Socket.java:470) >> at > com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:284) >>
via roller-user by Marcos Soler, 4 months ago
smtp-smtp.gmail.com >>>> at >>> java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177) >>>> at >>> java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) >>>> at >>> java.net.Socket.connect(Socket.java:520) >>>> at >>> java.net.Socket.connect(Socket.java:470) >>>> at >>> com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:284) >>>>
via roller-user by Edd Grant, 4 months ago
smtp-smtp.gmail.com >>> at >> java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177) >>> at >> java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) >>> at >> java.net.Socket.connect(Socket.java:520) >>> at >> java.net.Socket.connect(Socket.java:470) >>> at >> com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:284) >>>
via roller-user by Edd Grant, 1 year ago
smtp-smtp.gmail.com >>>>> at >>>> java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177) >>>>> at >>>> java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) >>>>> at >>>> java.net.Socket.connect(Socket.java:520) >>>>> at >>>> java.net.Socket.connect(Socket.java:470) >>>>> at >>>> com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:284) >>>>> >>>>
via roller-user by Edd Grant, 1 year ago
smtp-smtp.gmail.com > at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177) > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) > at java.net.Socket.connect(Socket.java:520) > at java.net.Socket.connect(Socket.java:470) > at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:284) >
java.net.UnknownHostException: smtp-smtp.gmail.com > at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177) > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) > at java.net.Socket.connect(Socket.java:520) > at java.net.Socket.connect(Socket.java:470) > at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:284) >
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:227)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.