java.net.Socket does not have a constructor that accepts two Strings for host and port. It does have a constructor that accepts a String host and int port. So change
to
and it should work.
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
If you want to look young and thin, hang around old, fat people. Or this tiny ad: