All Questions
133 questions
0
votes
0
answers
35
views
Delay to get connection pool
I have a Java Spring Boot application running on AWS EKS (Dockerized OS: ALPINE 3.14). I have hybrid cloud architecture where my DB is on-premises.
Whenever I do an API call initially I face delay of ...
0
votes
0
answers
58
views
Java Spring send mail - SocketTimeoutException - How to know if firewall or antivirus is the problem?
I am currently developing a server with Java Spring and am trying to send an email from the server. The server runs locally on my lap top and I live in a dorm. When I send an email I get a timeout ...
0
votes
0
answers
71
views
Not able to download maven dependencies in one linux server but in another linux server it's working fine
I’m not able to download the maven dependencies in one of the linux server(lets say A), it got stuck at downloading and same is working in another linux VM(lets say B). It got stuck at below -
...
0
votes
1
answer
766
views
ISP or Windows firewall blocking UDP connection
I have made a online player game in which i use TCP connection between server and client, and UDP (DatagramSocket) between clients (its a real time game).
My problem is that i can play with some ...
1
vote
1
answer
197
views
Query Azure SQL DB through API using Java
I am trying to access Azure SQL Database , using java. Our code will be staying in MS Appcenter. Since the DB firewall is not letting the Appcenter to access the database, I am trying to use API. Can ...
1
vote
0
answers
28
views
Problem with firewall on app using jersey and deployed at weblogic
I have an app using jersey 1.x to consume external API. This app is deployed at weblogic 12.1.2.
Everthing work well until I have to deploy it on enviroment that have to pass through a firewall.
...
4
votes
1
answer
3k
views
Create a firewall rule using powershell
I am trying to create a firewall rule for java in powershell. The problem is that even if I create exactly the same rule as windows creates automatically, it simply ignores it (I create the rule, then ...
0
votes
1
answer
776
views
Cannot establish connection with RMI Registry on a remote server
Currently I'm trying to start a java server using RMI on a remote machine. Server seem to start, but I can't invoke its methods on a client.
On a client I get an exception which looks like this:
...
0
votes
1
answer
1k
views
Able to fetch Box folder items but could not download the file from box using API
I am trying to download a file from Box by passing the file id but getting below error. Although I am able to fetch the folder items from Box and able to successfully get all the file names inside the ...
1
vote
1
answer
98
views
Query Azure filewall data using the Java SDK?
I'm trying to poll some data about the Firewall using the Java SDK.
I can't figure out how I am supposed to do so.
I went over all the documentation
Tried using similar methods
And I have tried ...
1
vote
1
answer
3k
views
How to connect spring boot web app to postgresql database
I'm working on a Spring boot project and i tried to connect my server to a postgresql database.
When i run the program with my IDE (on my windows OS) it's working but when i make a jar file and run it ...
0
votes
0
answers
55
views
What are the Domains to allow through firewall when using GWT in a web application in production environment which is protected with in a network DMZ
I am working on a web application which is built on GWT 2.1.0. We are currently moving this application to IBM WAS 8.5.5.14 servers. These new servers are behind a network DMZ, so all the outgoing ...
1
vote
0
answers
2k
views
REST call throwing java.io.EOFException
I am making a REST web service call through firewall with the following code:
try {
String url="http://testcall.us:1300/abc/testapi/json/method1"; //dummy url
Client client = Client.create();
...
0
votes
0
answers
301
views
Uploading files from Remote machine to AWS S3
I have a requirement where I want to upload a directory/files from remote windows machine to AWS S3 bucket. The code is to be executed from the local machine and not the remote machine. Is there any ...
1
vote
0
answers
298
views
Java webapp in CentOS7 cannot connect to MSSQL server
My java web application connects to remote MSSQL server database by using JDBC. The address is a web URL: https://mssql2008.server.com. It works well on my PC. However, after I deployed it to Tomcat 9 ...
-1
votes
1
answer
537
views
Java application can connect to a specific ip and port but port isn't open in the firewall
The following java code listens for incoming connections on a specific port. I see that clients can connect but how is that possible if the server port is not open in the firewall?
ServerSocket ...
3
votes
0
answers
702
views
Tomcat is runing, but cannot access it remotely
Run Tomcat8 in centos7, Checked the tomcat status get following information:
[root@**** conf]# systemctl status tomcat
● tomcat.service - Apache Tomcat 8 Servlet Container
Loaded: loaded (/etc/...
0
votes
1
answer
1k
views
How can I restrict Java RMI to a specific interface?
We have two interfaces on our product one that is customer facing and an internal interface. Is it possible to have the rmi only operate on a particular interface such as the loopback or do we need to ...
-1
votes
1
answer
2k
views
Unable to access tomcat server on 8080 port from Google Compute Engine VM (Windows Server 2012)
I have created Virtual Machine Under Google Compute Engine and selected Windows Server 2012 R2 as OS for the server. I have installed Tomcat 8 and and it is running on 8080 HTTP port. I can access ...
-1
votes
2
answers
14k
views
Windows Firewall Not Allowing Java Application
I have a Windows PC which is running a standalone Java application which requires internet access. To limit data usage from other applications (like Windows Update, Anti Virus, etc...), the PC has ...
0
votes
1
answer
854
views
CORBA client behind NAT [duplicate]
I have a CORBA client, written in Java, that receives notifications from server A in port 11112. Now, my server is behind a firewall, and my IP address is behind NAT. The notifications are not ...
1
vote
1
answer
2k
views
How to remotely connect to my MongoDB in my server with java?
I want to use my MongoDB on my server from a java application on my laptop.
this is my ufw setting
aran@Aran:~$ sudo ufw status
Status: active
To Action From
-- ...
0
votes
2
answers
624
views
Hadoop namenode does not listen outside IPs
I have a simple hadoop cluster of 3 machines. One master and two slaves. All of them are running the latest minimalist version of CentOS I downloaded there.
All my machines have the same hosts file:
...
1
vote
1
answer
4k
views
Java RMI and netstat output
I'm trying to make my RMI service work across a Firewall. I followed instructions in this answer to run both RMI Registry and my RMI service on port 1099, yet, I'm seeing different port numbers being ...
0
votes
0
answers
162
views
Java ServerSocket connection not working in school network
I've got a working ServerSocket client and server program. The server is running on a home server on a port above 1024, with port forwarding a am able to access it from outside my LAN.
But when I try ...
2
votes
1
answer
1k
views
Is it safe to run python -m http.server XXXX
I am trying to run a html project that I have started. I need to do so on a local server to reach full capabilities for the java aspect. I've been told that "python -m http.server 8000" is a good way ...
18
votes
2
answers
16k
views
Gradle: MessageIOException: Could not write message [EndOfStream] to 127.0.0.1 (Firewall)?
I wrote a simple test project, which opens port 9123 for some time and exit:
import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.charset.Charset;
import java.util.Date;
...
0
votes
0
answers
357
views
openDS installation showing error-- you have a firewall configured check that it allows connections to port 4444
I'm installing OpenDS-2.2.1 on Windows 7 os. At the end of the setup this message below appears.I used previously this software some problem happened so i deleted that software and reinstalling but ...
1
vote
0
answers
259
views
How to Config CSF for skinsrestorer on server Minecraft
I'm having a minecraft server, running on centos 7. Do my servers were attacked repeatedly, so I want to install a firewall to minimize the attacks. I use a firewall CSF. I've configured everything, ...
0
votes
2
answers
185
views
How to restart a Java service without disruption using firewall/iptables?
If enable this rule
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to 8080
Then connections coming to the server port 80 are redirected to localhost:8080. If I want to restart the ...
1
vote
1
answer
2k
views
"java.net.ConnectException: Connection refused" in IntelliJ and JBoss Dev Studio and mvn on commandline on Mac for TestNG test
I have a Java functional TestNG test which is hitting a REST API endpoint.
Same test worked on Windows PC with IntelliJ and JBoss with no special settings.
I can hit this endpoint in Postman, so I ...
1
vote
0
answers
416
views
Jboss start - diable following ports 1090 1091 1098 1099 4446 by default
When we start Jboss, ports 1090 1091 1098 1099 4446 are opened by default.
I am told that opening of these ports can be a security issue and we need to close these ports by default.
Is there a way ...
1
vote
0
answers
274
views
Facing issue with ionic web-socket connection with java socket server
I am facing issue with websocket on Ionic
connection with "ionic serve" working perfect. but when i try with "ionic run android"(which is connected with WiFi) getting below given error.
"WebSocket ...
0
votes
1
answer
604
views
How to communicate directly to external client with IP and port [closed]
I made a game writen in JAVA. It has two players, one will be the server.
A computer creates the game and serves it.
Another computer (outside) needs to connect to the server using its IP and port.
...
0
votes
0
answers
459
views
Tomcat Data Source Losing Connection With DB
I need a solution about tomcat datasource configuration.
I have 2 nginx front of my tomcats.These are feeding my app, these are Webservice.
Tomcat machines and database are in different ip blog so its ...
1
vote
0
answers
54
views
Use Java Robot To Hit Enter On Windows Firewall Prompt
I'm trying to create a Java program that will assist in installing a certain .exe file. However, when the installation .exe is run on certain Windows machines, a Windows firewall prompt is at first ...
0
votes
1
answer
3k
views
Open a port in firewall with Java?
Is there any way to open a port with java socket in the firewall.
Maybe someone have an idea with cmd command line or with another way please.
0
votes
3
answers
786
views
Unable to create connection between two PC on LAN (windows, RabbitMQ)
I am trying to send messages between two local PC (Windows OS). I have connected to these PC using LAN connection. The RabbitMQ server is installed on 10.100.94.25 PC. I am trying to create a ...
1
vote
0
answers
2k
views
Unable to connect from localhost to localhost in Java
I wrote simple server-client program to send information from client to server, but it doesn't work with the following errors:
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=...
3
votes
0
answers
2k
views
Cannot start internal HTTP server... IntelliJ stopped working
I have IntelliJ and other development tools stopped working today.
IntelliJ says on start:
Cannot start internal HTTP server. Git integration, JavaScript
debugger and LiveEdit may operate with ...
1
vote
0
answers
2k
views
How to connect with JSch through proxy?
I am connecting to a remote sftp using the jsch library
JSch jsch = new JSch();
Session session = jsch.getSession(user, host, Integer.parseInt(port) );
session.setConfig("...
1
vote
0
answers
3k
views
Which ports are used with ApacheCommons FTPClient and enterLocalPassiveMode()?
Essentially I have an issue with my Firewall causing my Application to hang when trying with storing files with FTP.
I found out that it had to do with my Firewall allowing access through the ports.
...
1
vote
0
answers
742
views
how to make Firewall popup appear when I execute java application (or Jar)?
I'm working on Java Application (game), and I need full internet access between server and client.
so I want to avoid getting blocked by the firewall by making this firewall popup appears when I ...
4
votes
1
answer
3k
views
Using Selenium RemoteWebDriver behind corporate proxy (Java)
I'm trying to run Selenium tests on a few remote automation services (Sauce Labs, Browserstack, etc) and run into issues hitting their API through my corporate firewall.
Just a note, the app I'm ...
1
vote
2
answers
13k
views
How to open 8080 port to listen HTTP request from remote computer in ubuntu? [closed]
I have run following command :-
nmap localhost
and get following result :-
Starting Nmap 6.40 ( http://nmap.org ) at 2015-08-28 09:52 UTC
Nmap scan report for localhost (127.0.0.1)
Host is up (0....
2
votes
1
answer
2k
views
BigQuery Firewall Domains
I am running a java application from behind our corporate firewall to access our Google BigQuery data. The application is very similar to the getting started sample and uses many of the same Google ...
0
votes
1
answer
5k
views
Does HTTP Url connection require PORT opening in client side
I am calling GET method using java.net.HttpURLConnection . I was facing error "Connection refused "
I was calling http://192.168.1.5:8038/GetStudent
So wanted to understand do I need to open PORT ...
0
votes
1
answer
482
views
Firewall blocking tcp chat client
I wrote small TCP chat client and server. At start running on localhost, and now i moved it to external host. Personally it works alright because i have my firewall disabled, however on another ...
2
votes
1
answer
175
views
Socket creation in VpnService freezes thread
I'm trying to implement no root firewall for android. I've gone through all related questions on SO, but haven't find an answer:
Here I am configuring my vpn.
private void configure() {
// If ...
0
votes
1
answer
1k
views
Java code to check the status of firewall
I'm building a Java application to check to status of firewall. In simpler words,it should give the output whether the firewall is ON or OFF(note that when i say firewall ,i mean the built-in firewall ...