Drupal 6 clean urls without domain name (accessing via IP Address)
Clean URLs is not dependent on domain names it is disabled because your server doesnt support it. You need to enable mod_rewrite module in apache to get that option enabled.
Check out the server configuration section here.