Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8038867
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T03:22:48+00:00 2026-06-05T03:22:48+00:00

I am using a virtual machine on a server. My local IP of the

  • 0

I am using a virtual machine on a server.
My local IP of the VM is 192.168.1.10

I am trying to achieve something which requires me to edit my /etc/hosts as provided in this link

http://www.thatisjava.com/java-tech/55200/

I am having similar problems, My console reads

RTP--- :DataAddress: /192.168.1.10
ControlAddress: /192.168.1.10
DataPort: 42050
ControlPort: 42051
java.io.IOException: Local Data AddressDoes not belong to any of this hosts local interfaces
java.io.IOException: Local Data AddressDoes not belong to any of this hosts local interfaces
at org.speechforge.cairo.rtp.RTPConsumer.init(RTPConsumer.java:181)
    at org.speechforge.cairo.rtp.RTPConsumer.<init>(RTPConsumer.java:95)
    at org.speechforge.cairo.rtp.server.RTPStreamReplicator.<init>    (RTPStreamReplicator.java:69)

And some more.

The answer to the problem given is

I solved this one. The problem is JMF seems to use
InetAddress.getAllByName() which returns (at least in my case) only
single IP address no matter how many addresses I have defined on my
interfaces. The problem was solved by placing my IP address that I
wanted to use by session manager into /etc/hosts. It must be the first
line in /etc/hosts otherwise the other row that matches is used.

Unfortunately, I cant make out what He is trying to state. My /etc/hosts read

127.0.0.1    localhost
127.0.1.1       SparkVM104

So am I supposed to change 127.0.0.1 with my 192.168.1.10

or am I supposed to create an alias like 127.0.0.1/192.168.1.10

or Shall I just paste 192.168.1.10 in the top as

192.168.1.10
127.0.0.1    localhost
127.0.1.1       SparkVM104

Any help is appreciated.

Regards.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T03:22:50+00:00Added an answer on June 5, 2026 at 3:22 am

    The format for /etc/hosts is

    IP_address canonical_hostname [aliases...]
    

    (see http://linux.die.net/man/5/hosts), so to list 192.168.1.10 first, the /etc/hosts file would have to look like this:

    192.168.1.10    SomeHostName    SomeOtherHostName
    127.0.0.1       localhost    
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to install Moodle 1.9 using XAMPP on a virtual machine running
I am trying to install a google wave server on a linux virtual machine
I am running windows 7 and have installed an Ubuntu machine using virtual box.
I am using the following code in android virtual Machine try{ HttpClient httpclient =
I'm using Vagrant with Chef to build a Ubuntu 12.04 virtual machine. I'm using
Problem: I am using Windows as a guest operating system in a Virtual Machine
i am using virtual dedicated server and the configuration is windows server 2008 R2
I'm currently trying to reverse geocode a series of lat/long co-ordinates using the Virtual
So I'm using this website: http://www.howtoforge.com/ubuntu_debian_lamp_server to setup LAMP on my Ubuntu Virtual Machine.
We're thinking of running our TFS 2010 application tier on a virtual machine using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.