How to enable cookie in phantomjsdriver selenium c#?

RFC 2109 explicitly forbids cookie accepting from URLs with IP address

You are almost certainly accessing your test server via an IP based address.

You can try set up some kind of DNS/host file to allow you to use a fake domain name.