{"id":2977,"date":"2020-04-04T13:09:22","date_gmt":"2020-04-04T07:39:22","guid":{"rendered":"https:\/\/www.24x7serversupport.com\/blog\/?p=2977"},"modified":"2020-04-04T13:12:26","modified_gmt":"2020-04-04T07:42:26","slug":"login-issues-rejected-session-for-user-admin-because-ip-1-2-3-4-doesnt-match-session-file-5-6-7-8","status":"publish","type":"post","link":"https:\/\/www.24x7serversupport.com\/blog\/login-issues-rejected-session-for-user-admin-because-ip-1-2-3-4-doesnt-match-session-file-5-6-7-8\/","title":{"rendered":"Login issues: Rejected session for user admin because IP (1.2.3.4) doesn&#8217;t match session file (5.6.7.8)"},"content":{"rendered":"\n<p> If you&#8217;re logged in, or having issues logging in, where you get booted back to the main login page, and your:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/var\/log\/directadmin\/error.log<\/code><\/pre>\n\n\n\n<p> shows this error<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Rejected session for user admin because IP (1.2.3.4) doesn't match session file (5.6.7.8)<\/code><\/pre>\n\n\n\n<p>\n\nbut both IPs are yours, that&#8217;s likely due to some IP rotating which can happen with proxies, mobile devices, or when a client connection uses both IPv4 and IPv6 interchangeably.<\/p>\n\n\n\n<p>As this IP check is not commonly done with sesion based login, it is considered extra level of security, so you can disable it if you need to by adding  to your \/usr\/local\/directadmin\/conf\/directadmin.conf and restarting directadmin.<br> <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>disable_ip_check=1<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re logged in, or having issues logging in, where you get booted back to the main login page, and your: shows this error but both IPs are yours, that&#8217;s likely due to some IP rotating which can happen with proxies, mobile devices, or when a client connection uses both IPv4 and IPv6 interchangeably. As [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2979,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[30,273],"tags":[31,74,274],"class_list":["post-2977","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-directadmin","tag-centos","tag-centos7","tag-directadmin"],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Login issues: Rejected session for user admin because IP (1.2.3.4) doesn&#039;t match session file (5.6.7.8) | 24x7serversupport Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.24x7serversupport.com\/blog\/login-issues-rejected-session-for-user-admin-because-ip-1-2-3-4-doesnt-match-session-file-5-6-7-8\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Login issues: Rejected session for user admin because IP (1.2.3.4) doesn&#039;t match session file (5.6.7.8) | 24x7serversupport Blog\" \/>\n<meta property=\"og:description\" content=\"If you&#8217;re logged in, or having issues logging in, where you get booted back to the main login page, and your: shows this error but both IPs are yours, that&#8217;s likely due to some IP rotating which can happen with proxies, mobile devices, or when a client connection uses both IPv4 and IPv6 interchangeably. As [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.24x7serversupport.com\/blog\/login-issues-rejected-session-for-user-admin-because-ip-1-2-3-4-doesnt-match-session-file-5-6-7-8\/\" \/>\n<meta property=\"og:site_name\" content=\"24x7serversupport Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-04T07:39:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-04-04T07:42:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2020\/04\/Screenshot_2.jpg?fit=906%2C352&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"906\" \/>\n\t<meta property=\"og:image:height\" content=\"352\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"24x7support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@24x7serversuppo\" \/>\n<meta name=\"twitter:site\" content=\"@24x7serversuppo\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"24x7support\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/login-issues-rejected-session-for-user-admin-because-ip-1-2-3-4-doesnt-match-session-file-5-6-7-8\/\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/login-issues-rejected-session-for-user-admin-because-ip-1-2-3-4-doesnt-match-session-file-5-6-7-8\/\",\"name\":\"Login issues: Rejected session for user admin because IP (1.2.3.4) doesn't match session file (5.6.7.8) | 24x7serversupport Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/login-issues-rejected-session-for-user-admin-because-ip-1-2-3-4-doesnt-match-session-file-5-6-7-8\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/login-issues-rejected-session-for-user-admin-because-ip-1-2-3-4-doesnt-match-session-file-5-6-7-8\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2020\/04\/Screenshot_2.jpg?fit=906%2C352&ssl=1\",\"datePublished\":\"2020-04-04T07:39:22+00:00\",\"dateModified\":\"2020-04-04T07:42:26+00:00\",\"author\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/login-issues-rejected-session-for-user-admin-because-ip-1-2-3-4-doesnt-match-session-file-5-6-7-8\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.24x7serversupport.com\/blog\/login-issues-rejected-session-for-user-admin-because-ip-1-2-3-4-doesnt-match-session-file-5-6-7-8\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/login-issues-rejected-session-for-user-admin-because-ip-1-2-3-4-doesnt-match-session-file-5-6-7-8\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2020\/04\/Screenshot_2.jpg?fit=906%2C352&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2020\/04\/Screenshot_2.jpg?fit=906%2C352&ssl=1\",\"width\":906,\"height\":352,\"caption\":\"directadmin\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/login-issues-rejected-session-for-user-admin-because-ip-1-2-3-4-doesnt-match-session-file-5-6-7-8\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.24x7serversupport.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Login issues: Rejected session for user admin because IP (1.2.3.4) doesn&#8217;t match session file (5.6.7.8)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#website\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/\",\"name\":\"24x7serversupport Blog\",\"description\":\"Linux | CPanel | WHM | webhosting| Plesk | DirectAdmin | CentOs | Debian | Ubuntu Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.24x7serversupport.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401\",\"name\":\"24x7support\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/author\/24x7support\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Login issues: Rejected session for user admin because IP (1.2.3.4) doesn't match session file (5.6.7.8) | 24x7serversupport Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.24x7serversupport.com\/blog\/login-issues-rejected-session-for-user-admin-because-ip-1-2-3-4-doesnt-match-session-file-5-6-7-8\/","og_locale":"en_US","og_type":"article","og_title":"Login issues: Rejected session for user admin because IP (1.2.3.4) doesn't match session file (5.6.7.8) | 24x7serversupport Blog","og_description":"If you&#8217;re logged in, or having issues logging in, where you get booted back to the main login page, and your: shows this error but both IPs are yours, that&#8217;s likely due to some IP rotating which can happen with proxies, mobile devices, or when a client connection uses both IPv4 and IPv6 interchangeably. As [&hellip;]","og_url":"https:\/\/www.24x7serversupport.com\/blog\/login-issues-rejected-session-for-user-admin-because-ip-1-2-3-4-doesnt-match-session-file-5-6-7-8\/","og_site_name":"24x7serversupport Blog","article_published_time":"2020-04-04T07:39:22+00:00","article_modified_time":"2020-04-04T07:42:26+00:00","og_image":[{"width":906,"height":352,"url":"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2020\/04\/Screenshot_2.jpg?fit=906%2C352&ssl=1","type":"image\/jpeg"}],"author":"24x7support","twitter_card":"summary_large_image","twitter_creator":"@24x7serversuppo","twitter_site":"@24x7serversuppo","twitter_misc":{"Written by":"24x7support","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.24x7serversupport.com\/blog\/login-issues-rejected-session-for-user-admin-because-ip-1-2-3-4-doesnt-match-session-file-5-6-7-8\/","url":"https:\/\/www.24x7serversupport.com\/blog\/login-issues-rejected-session-for-user-admin-because-ip-1-2-3-4-doesnt-match-session-file-5-6-7-8\/","name":"Login issues: Rejected session for user admin because IP (1.2.3.4) doesn't match session file (5.6.7.8) | 24x7serversupport Blog","isPartOf":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/login-issues-rejected-session-for-user-admin-because-ip-1-2-3-4-doesnt-match-session-file-5-6-7-8\/#primaryimage"},"image":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/login-issues-rejected-session-for-user-admin-because-ip-1-2-3-4-doesnt-match-session-file-5-6-7-8\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2020\/04\/Screenshot_2.jpg?fit=906%2C352&ssl=1","datePublished":"2020-04-04T07:39:22+00:00","dateModified":"2020-04-04T07:42:26+00:00","author":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401"},"breadcrumb":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/login-issues-rejected-session-for-user-admin-because-ip-1-2-3-4-doesnt-match-session-file-5-6-7-8\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.24x7serversupport.com\/blog\/login-issues-rejected-session-for-user-admin-because-ip-1-2-3-4-doesnt-match-session-file-5-6-7-8\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.24x7serversupport.com\/blog\/login-issues-rejected-session-for-user-admin-because-ip-1-2-3-4-doesnt-match-session-file-5-6-7-8\/#primaryimage","url":"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2020\/04\/Screenshot_2.jpg?fit=906%2C352&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2020\/04\/Screenshot_2.jpg?fit=906%2C352&ssl=1","width":906,"height":352,"caption":"directadmin"},{"@type":"BreadcrumbList","@id":"https:\/\/www.24x7serversupport.com\/blog\/login-issues-rejected-session-for-user-admin-because-ip-1-2-3-4-doesnt-match-session-file-5-6-7-8\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.24x7serversupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Login issues: Rejected session for user admin because IP (1.2.3.4) doesn&#8217;t match session file (5.6.7.8)"}]},{"@type":"WebSite","@id":"https:\/\/www.24x7serversupport.com\/blog\/#website","url":"https:\/\/www.24x7serversupport.com\/blog\/","name":"24x7serversupport Blog","description":"Linux | CPanel | WHM | webhosting| Plesk | DirectAdmin | CentOs | Debian | Ubuntu Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.24x7serversupport.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401","name":"24x7support","url":"https:\/\/www.24x7serversupport.com\/blog\/author\/24x7support\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2020\/04\/Screenshot_2.jpg?fit=906%2C352&ssl=1","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/2977","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/comments?post=2977"}],"version-history":[{"count":1,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/2977\/revisions"}],"predecessor-version":[{"id":2978,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/2977\/revisions\/2978"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/media\/2979"}],"wp:attachment":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/media?parent=2977"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/categories?post=2977"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/tags?post=2977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}