Linked Questions

0 votes
1 answer
3k views

I am using jdk 8 with weblogic server 12 R2c. My application is public facing and i need to get the host name of the client. If the client host name is in the list of allowed host names which can ...
dontnetnewbie's user avatar
0 votes
1 answer
2k views

I want to get the server hostname using Java while starting the server. Before that i was used HTTP servlet request but I cannot get the request during start the server it's shows null pointer ...
Hariharan's user avatar
2 votes
1 answer
1k views

I host my java/jsp based webapps using tomcat 7.0. I would like to make my webapps be able to invoke requests from other webapps (on the same machine). To do this, they need to know the url from which ...
user1884155's user avatar
  • 3,776
1 vote
1 answer
1k views

Asking how to find the current machine's host name is one of the more frequent Java questions here and in other programming forums, and the common answer - InetAddress.getLocalHost().getHostName() is ...
Guss's user avatar
  • 32.8k
1 vote
1 answer
573 views

I am working on an application created using the spring IO framework which displays the hostname using a json format. The application is working fine when it is started from the command line by the ...
MiM1's user avatar
  • 59
1 vote
3 answers
443 views

I want to know whether a given hostname (which can be FQDN also) is localhost. I didn't find any direct API in InetAddress which can tell me so. What is the best way to do that? Edit: I think I didn'...
keenUser's user avatar
  • 1,319
-1 votes
2 answers
178 views

I come from a C/Linux background and don't have much background in Java. I generally develop system administrator utilities like : disk cleanup retrieve lost data / files repairing file systems ...
Sam Anderson's user avatar
0 votes
0 answers
138 views

I have one jar file which contain camel route to run it from cron job i created shell script public void process(Exchange exchange) throws Exception { String host=exchange.getContext()....
ImranRazaKhan's user avatar
0 votes
1 answer
106 views

when I write following code in cmd: ping localhost I see following result: Pinging hostname.A.B.com [::1] with 32 bytes of data: Reply from ::1: time<1ms Reply from ::1: time<1ms Reply from ::...
gstackoverflow's user avatar
0 votes
1 answer
60 views

I am having a spring boot application. It is having rest end points which are consumed by angular application. My application is hosted on tomcat server. myapp1.mydomain.com -> My War File -> ...
Abhijit C's user avatar
  • 313
0 votes
1 answer
39 views

I made a simple java client server program its work very well on my computer (localhost) but when I run the server on my computer and the client on friend computer I don't know how to get my full ...
Michael's user avatar
  • 39

15 30 50 per page
1
2