The issue can be solved by adding the following to /etc/hosts
(assuming output of hostname
command is my-macbook
:
127.0.0.1 my-macbook
::1 my-macbook
This returns the time to something more suitable (< 1 second)
More Related Contents:
- Logical disjunction of a list of booleans represented by integers [closed]
- Custom thread pool in Java 8 parallel stream
- Calling remove in foreach loop in Java [duplicate]
- What is the difference between JDK and JRE?
- Keep the order of the JSON keys during JSON conversion to CSV
- Dynamic spring data jpa repository query with arbitrary AND clauses
- How to query XML using namespaces in Java with XPath?
- What is the best approach using JDBC for parameterizing an IN clause? [duplicate]
- Java Jar file: use resource errors: URI is not hierarchical
- How to use java.String.format in Scala?
- Can you split a stream into two streams?
- Can we use JSch for SSH key-based communication?
- Printing Java Collections Nicely (toString Doesn’t Return Pretty Output)
- increase the java heap size permanently?
- What is the difference between identity and equality in OOP?
- last day of month calculation
- Java 8, Streams to find the duplicate elements
- What are the rules dictating the inheritance of static variables in Java?
- How do you get the selected value of a Spinner?
- Java Generic Class – Determine Type
- Eclipse comment/uncomment shortcut?
- Divide elements on groups in RecyclerView or Grouping Recyclerview items ,say by date
- How to continue execution when Assertion is failed
- HTTPClient Example – Exception in thread “main” java.lang.NoSuchFieldError: INSTANCE
- How to get list of all window handles in Java (Using JNA)?
- How can I limit bandwidth in Java?
- Explanation on Integer.MAX_VALUE and Integer.MIN_VALUE to find min and max value in an array
- Using ‘==’ instead of .equals for Java strings [duplicate]
- Library and examples of parsing multipart/form-data from inputstream
- Can we access or query the Java String intern (constant) pool?