Here are several different ways to test a TCP port without telnet.
BASH (man page)
$ cat < /dev/tcp/127.0.0.1/22
SSH-2.0-OpenSSH_5.3
^C
$ cat < /dev/tcp/127.0.0.1/23
class Net::HTTP::BufferedIO < Net::BufferedIO | |
@@patch = false | |
def self.patch= v; @@patch = v; end | |
def rbuf_fill | |
return super unless @@patch | |
begin | |
@rbuf << @io.read_nonblock(BUFSIZE) | |
rescue Errno::EWOULDBLOCK, Errno::EAGAIN | |
retry unless @read_timeout |
apply plugin: 'java' | |
apply plugin: 'maven-publish' | |
repositories { jcenter() } | |
dependencies { compile 'org.slf4j:slf4j-api:1.7.12' } | |
publishing { | |
repositories { | |
maven { | |
url "http://127.0.0.1:8081/artifactory/libs-release-local/" |
Here are several different ways to test a TCP port without telnet.
$ cat < /dev/tcp/127.0.0.1/22
SSH-2.0-OpenSSH_5.3
^C
$ cat < /dev/tcp/127.0.0.1/23
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Visualizing your Spring Integration Components & Flows</title> | |
<script type="text/javascript" src="http://d3js.org/d3.v4.min.js"></script> | |
<script type="text/javascript" src="http://d3js.org/d3-selection-multi.v1.min.js"></script> | |
<style> |
username: "Test" | |
password: "123456" |
import com.intellij.database.model.DasTable | |
import com.intellij.database.model.ObjectKind | |
import com.intellij.database.util.Case | |
import com.intellij.database.util.DasUtil | |
/* | |
* Available context bindings: | |
* SELECTION Iterable<DasObject> | |
* PROJECT project | |
* FILES files helper |