Hi Stefan
The port is opened and I could able to test using a sample java udp client
server program. The server code ran on sample.domain.com and client code
runs in my local pc.
when I run nmap -sU -p 12201 sample.domain.com, I got the below response of
import java.io.*;
import java.net.*;
class UDPClient
{
public static void main(String args[]) throws Exception
{
BufferedReader inFromUser =
new BufferedReader(new InputStreamReader(System.in));
DatagramSocket clientSocket = new DatagramSocket();
InetAddress IPAddress = InetAddress.getByName("localhost");
byte[] sendData = new byte[1024];
byte[] receiveData = new byte[1024];
String sentence = inFromUser.readLine();
sendData = sentence.getBytes();
DatagramPacket sendPacket = new DatagramPacket(sendData, sendData.
length, IPAddress, 9876);
clientSocket.send(sendPacket);
DatagramPacket receivePacket = new DatagramPacket(receiveData,
receiveData.length);
clientSocket.receive(receivePacket);
String modifiedSentence = new String(receivePacket.getData());
System.out.println("FROM SERVER:" + modifiedSentence);
clientSocket.close();
}
} - See more at:
https://systembash.com/a-simple-java-udp-server-and-udp-client/#sthash.9GMKb3Sg.dpuf
import java.io.*;
import java.net.*;
class UDPClient
{
public static void main(String args[]) throws Exception
{
BufferedReader inFromUser =
new BufferedReader(new InputStreamReader(System.in));
DatagramSocket clientSocket = new DatagramSocket();
InetAddress IPAddress = InetAddress.getByName("localhost");
byte[] sendData = new byte[1024];
byte[] receiveData = new byte[1024];
String sentence = inFromUser.readLine();
sendData = sentence.getBytes();
DatagramPacket sendPacket = new DatagramPacket(sendData, sendData.
length, IPAddress, 9876);
clientSocket.send(sendPacket);
DatagramPacket receivePacket = new DatagramPacket(receiveData,
receiveData.length);
clientSocket.receive(receivePacket);
String modifiedSentence = new String(receivePacket.getData());
System.out.println("FROM SERVER:" + modifiedSentence);
clientSocket.close();
}
} - See more at:
https://systembash.com/a-simple-java-udp-server-and-udp-client/#sthash.9GMKb3Sg.dpuf
Starting Nmap 6.40 ( http://nmap.org ) at 2015-11-11 06:36 EST
Note: Host seems down. If it is really up, but blocking our ping probes,
try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 4.19 seconds
*if I use -Pn switch then I got the below message*
Starting Nmap 6.40 ( http://nmap.org ) at 2015-11-11 06:45 EST
Nmap scan report for businessapplogs.cloudapp.net (104.214.33.170)
Host is up.
PORT STATE SERVICE
12201/tcp filtered unknown
Nmap done: 1 IP address (1 host up) scanned in 2.55 seconds
Thanks,
Alagappan,
On Wednesday, 11 November 2015 05:49:01 UTC-5, Stefan Krüger wrote:
>
> Hi,
>
> can you please try this:
> nmap -sU -p 12201 sample.domain.com
> is this port open?
> maybe you can also create a "raw" input and send messages..
>
> maybe there is a firewall or somthing like that?
>
--
You received this message because you are subscribed to the Google Groups
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/graylog2/5b4a942f-bf5f-4a34-af25-d6d36c02ff27%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.