reset - How do I revert back to an OpenWrt router configuration? - Stack Overflow (https://stackoverflow.com/Content/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (Stack Overflow) (https://stackoverflow.com/opensearch.xml) (https://stackoverflow.com/questions/12259185/how-do-i-revert-back-to-an-openwrt-router-configuration) Skip to main content (https://stackoverflow.com/) Stack Overflow (https://stackoverflow.co/) About Products (https://stackoverflow.co/internal/) For Teams (Search…) (Click to show search) (https://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f12259185%2fhow-do-i-revert-back-to-an-openwrt-router-configuration) Log in (https://stackoverflow.com/users/signup?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f12259185%2fhow-do-i-revert-back-to-an-openwrt-router-configuration) Sign up (https://stackoverflow.com/) Home (https://stackoverflow.com/questions) Questions (https://stackoverflow.com/ai-assist) AI Assist (https://stackoverflow.com/tags) Tags (https://stackoverflow.com/beta/challenges) Challenges (https://chat.stackoverflow.com/?tab=explore) Chat (https://stackoverflow.blog/contributed?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=so-blog&utm_content=experiment-articles) Articles (https://stackoverflow.com/users) Users (https://stackoverflow.com/jobs?source=so-left-nav) Jobs (https://stackoverflow.com/jobs/companies?so_medium=stackoverflow&so_source=SiteNav) Companies Collectives Communities for your favorite technologies. (https://stackoverflow.com/collectives-all) Explore all Collectives Stack Internal Stack Overflow for Teams is now called Stack Internal . Bring the best of human thought and AI automation together at your work. (https://stackoverflowteams.com/teams/create/free/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams) Try for free (https://stackoverflow.co/internal/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams) Learn more (https://stackoverflow.com/Content/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (https://stackoverflow.com/questions/12259185/how-do-i-revert-back-to-an-openwrt-router-configuration) How do I revert back to an OpenWrt router configuration? [closed] (https://stackoverflow.com/questions/ask) Ask Question (2012-09-04 08:03:47Z) Asked 13 years, 4 months ago Modified (https://stackoverflow.com/questions/12259185/how-do-i-revert-back-to-an-openwrt-router-configuration?lastactivity) (2018-08-26 11:58:15Z) 7 years, 5 months ago (Viewed 148,384 times) Viewed 148k times This question shows research effort; it is useful and clear 21 (This question does not show any research effort; it is unclear or not useful) Save this question. (https://stackoverflow.com/posts/12259185/timeline) Show activity on this post. Closed. This question does not meet (https://stackoverflow.com/help/closed-questions) Stack Overflow guidelines . It is not currently accepting answers. This question does not appear to be about (https://stackoverflow.com/help/on-topic) a specific programming problem, a software algorithm, or software tools primarily used by programmers . If you believe the question would be on-topic on (https://stackexchange.com/sites) another Stack Exchange site , you can leave a comment to explain where the question may be able to be answered. Closed (2017-01-16 05:26:45Z) 9 years ago . (https://stackoverflow.com/posts/12259185/edit) Improve this question I recently ported Luci to an OpenWrt router. I was just exploring the thing. I disabled the DHCP server on LAN and enabled as DHCP client. I saved and applied the configuration to the router. Now after a restart I am not able to connect the router webpage. How do I enable the DHCP server again or can anyone let me know how to reset this OpenWrt router to default settings? I tried in the serial port console. but I can't see any IP address for any interfaces. Before It was 192.168.1.1. Please suggest... (https://stackoverflow.com/questions/tagged/configuration) (show questions tagged 'configuration') configuration (https://stackoverflow.com/questions/tagged/reset) (show questions tagged 'reset') reset (https://stackoverflow.com/questions/tagged/openwrt) (show questions tagged 'openwrt') openwrt (https://stackoverflow.com/q/12259185) (Short permalink to this question) Share (https://stackoverflow.com/posts/12259185/edit) Improve this question Follow Follow this question to receive notifications (https://stackoverflow.com/posts/12259185/revisions) (show all edits to this post) edited (2017-11-05 13:44:06Z) Nov 5, 2017 at 13:44 (https://stackoverflow.com/users/63550/peter-mortensen) (Peter Mortensen's user avatar) (https://stackoverflow.com/users/63550/peter-mortensen) Peter Mortensen (reputation score 31,253) 31.3k (22 gold badges) 22 22 gold badges (110 silver badges) 110 110 silver badges (134 bronze badges) 134 134 bronze badges asked (2012-09-04 08:03:47Z) Sep 4, 2012 at 8:03 (https://stackoverflow.com/users/218284/surjya-narayana-padhi) (Surjya Narayana Padhi's user avatar) (https://stackoverflow.com/users/218284/surjya-narayana-padhi) Surjya Narayana Padhi (reputation score) 7,861 (25 gold badges) 25 25 gold badges (87 silver badges) 87 87 silver badges (132 bronze badges) 132 132 bronze badges (Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.) Add a comment | (Expand to show all comments on this post) 5 Answers 5 Sorted by: (https://stackoverflow.com/questions/12259185/how-do-i-revert-back-to-an-openwrt-router-configuration?answertab=scoredesc#tab-top) Reset to default (scoredesc) Highest score (default) (trending) Trending (recent votes count more) (modifieddesc) Date modified (newest first) (createdasc) Date created (oldest first) This answer is useful 39 (This answer is not useful) Save this answer. (Loading when this answer was accepted…) (https://stackoverflow.com/posts/27325372/timeline) Show activity on this post. Those who are facing this problem: Don't panic. Short answer : Restart your router, and this problem will be fixed. (But if your restart button is not working, you need to do a nine-step process to do the restart. Hitting the restart button is just one of them.) Long answer : Let's learn how to restart the router. Set your PC's IP address: 192.168.1.2 and subnetmask 255.255.255.0 and gateway 192.168.1.1 Power off the router Disconnect the WAN cable Only connect your PC Ethernet cable to ETH0 Power on the router Wait for the router to start the boot sequence (SYS LED starts blinking) When the SYS LED is blinking, hit the restart button (the SYS LED will be blinking at a faster rate means your router is in failsafe mode). (You have to hit the button before the router boots.) telnet 192.168.1.1 Run these commands: mount_root ## this remounts your partitions from read-only to read/write mode firstboot ## This will reset your router after reboot reboot -f ## And force reboot Log in the web interface using web browser. link to see the official failsafe mode. (https://stackoverflow.com/a/27325372) (Short permalink to this answer) Share (https://stackoverflow.com/posts/27325372/edit) Improve this answer Follow Follow this answer to receive notifications (https://stackoverflow.com/posts/27325372/revisions) (show all edits to this post) edited (2018-08-26 11:54:28Z) Aug 26, 2018 at 11:54 (https://stackoverflow.com/users/63550/peter-mortensen) (Peter Mortensen's user avatar) (https://stackoverflow.com/users/63550/peter-mortensen) Peter Mortensen (reputation score 31,253) 31.3k (22 gold badges) 22 22 gold badges (110 silver badges) 110 110 silver badges (134 bronze badges) 134 134 bronze badges answered (2014-12-05 22:01:42Z) Dec 5, 2014 at 22:01 (https://stackoverflow.com/users/214281/nafis-ahmad) (Nafis Ahmad's user avatar) (https://stackoverflow.com/users/214281/nafis-ahmad) Nafis Ahmad (reputation score) 2,789 (2 gold badges) 2 2 gold badges (26 silver badges) 26 26 silver badges (13 bronze badges) 13 13 bronze badges Sign up to request clarification or add additional context in comments. 7 Comments Add a comment (https://stackoverflow.com/users/99033/javarocky) JavaRocky (https://stackoverflow.com/users/99033/javarocky) JavaRocky (2015-05-04T12:57:05.397Z) Over a year ago It's not fastboot it's firstboot . See other answers. 2015-05-04T12:57:05.397Z+00:00 3 Reply (https://stackoverflow.com/users/840769/moonkey) moonkey (https://stackoverflow.com/users/840769/moonkey) moonkey (2015-08-22T04:53:40.207Z) Over a year ago After step 9, I cannot login after reboot, both in the static ip mode or dhcp mode. I wonder what I was doing wrong. 2015-08-22T04:53:40.207Z+00:00 0 Reply (https://stackoverflow.com/users/214281/nafis-ahmad) Nafis Ahmad (https://stackoverflow.com/users/214281/nafis-ahmad) Nafis Ahmad (2015-10-27T04:47:24.09Z) Over a year ago after reboot, the device is no longer in failSafe Mode. May be that's why you can not login. (may be) You have to change your PC Static ip address to dhcp. Then reboot your PC or disconnect / reconnect Ethernet Connection. Usually, by then it should work. 2015-10-27T04:47:24.09Z+00:00 0 Reply user414441 user414441 (2015-12-27T17:49:21.747Z) Over a year ago (Edited 1 time) With Chaos Calmer, i was able to tftp it back to new image, in the failsafe: atftp -p -l openwrt-15.05-ar71xx-generic-wnr612v2-squashfs-factory.img 192.168.1.1 2015-12-27T17:49:21.747Z+00:00 1 Reply (https://stackoverflow.com/users/214281/nafis-ahmad) Nafis Ahmad (https://stackoverflow.com/users/214281/nafis-ahmad) Nafis Ahmad (2016-09-28T23:35:26.357Z) Over a year ago @kasper-souren Thank you for the edit. Now the answer looks right and nice. 2016-09-28T23:35:26.357Z+00:00 1 Reply Add a comment | Show 2 more comments This answer is useful 10 (This answer is not useful) Save this answer. (Loading when this answer was accepted…) (https://stackoverflow.com/posts/28646321/timeline) Show activity on this post. Some addition to previous comments: 'firstboot' won't be available until you run 'mount_root' command. So here is a full recap of what needs to be done. All manipulations I did on Windows 8.1. Enter Failsafe mode (hold the reset button on boot for a few seconds) Assign a static IP address, 192.168.1.2, to your PC. Example of a command: netsh interface ip set address name="Ethernet" static 192.168.1.2 255.255.255.0 192.168.1.1 Connect to address 192.168.1.1 from telnet (I use (http://en.wikipedia.org/wiki/PuTTY) PuTTY ) and login/password isn't required). Run 'mount_root' (otherwise 'firstboot' won't be available). Run 'firstboot' to reset. Run 'reboot -f' to reboot. Now you can enter to the router console from a browser. Also don't forget to return your PC from static to DHCP address assignment. Example: netsh interface ip set address name="Ethernet" source=dhcp (https://stackoverflow.com/a/28646321) (Short permalink to this answer) Share (https://stackoverflow.com/posts/28646321/edit) Improve this answer Follow Follow this answer to receive notifications (https://stackoverflow.com/posts/28646321/revisions) (show all edits to this post) edited (2018-08-26 11:58:15Z) Aug 26, 2018 at 11:58 (https://stackoverflow.com/users/63550/peter-mortensen) (Peter Mortensen's user avatar) (https://stackoverflow.com/users/63550/peter-mortensen) Peter Mortensen (reputation score 31,253) 31.3k (22 gold badges) 22 22 gold badges (110 silver badges) 110 110 silver badges (134 bronze badges) 134 134 bronze badges answered (2015-02-21 13:27:11Z) Feb 21, 2015 at 13:27 (https://stackoverflow.com/users/1279056/yuliskov) (yuliskov's user avatar) (https://stackoverflow.com/users/1279056/yuliskov) yuliskov (reputation score) 1,517 (17 silver badges) 17 17 silver badges (17 bronze badges) 17 17 bronze badges 1 Comment Add a comment (https://stackoverflow.com/users/840769/moonkey) moonkey (https://stackoverflow.com/users/840769/moonkey) moonkey (2015-08-22T04:54:02.463Z) Over a year ago After 'firstboo' and 'reboot -f', I cannot login after reboot, both in the static ip mode or dhcp mode. I wonder what I was doing wrong. 2015-08-22T04:54:02.463Z+00:00 0 Reply This answer is useful 7 (This answer is not useful) Save this answer. (Loading when this answer was accepted…) (https://stackoverflow.com/posts/13137665/timeline) Show activity on this post. You can run this command for making a factory reset: killall dropbear uhttpd; sleep 1; mtd -r erase rootfs_data (https://stackoverflow.com/a/13137665) (Short permalink to this answer) Share (https://stackoverflow.com/posts/13137665/edit) Improve this answer Follow Follow this answer to receive notifications (https://stackoverflow.com/posts/13137665/revisions) (show all edits to this post) edited (2018-08-26 11:50:59Z) Aug 26, 2018 at 11:50 (https://stackoverflow.com/users/63550/peter-mortensen) (Peter Mortensen's user avatar) (https://stackoverflow.com/users/63550/peter-mortensen) Peter Mortensen (reputation score 31,253) 31.3k (22 gold badges) 22 22 gold badges (110 silver badges) 110 110 silver badges (134 bronze badges) 134 134 bronze badges answered (2012-10-30 11:06:46Z) Oct 30, 2012 at 11:06 (https://stackoverflow.com/users/781252/embedded-software-engineer) (Embedded Software Engineer's user avatar) (https://stackoverflow.com/users/781252/embedded-software-engineer) Embedded Software Engineer (reputation score) 4,944 (8 gold badges) 8 8 gold badges (44 silver badges) 44 44 silver badges (62 bronze badges) 62 62 bronze badges 1 Comment Add a comment (https://stackoverflow.com/users/516748/kcd) KCD (https://stackoverflow.com/users/516748/kcd) KCD (2016-07-31T00:06:57.263Z) Over a year ago I hit a bug where (https://dev.openwrt.org/ticket/20168) firstboot hangs and I didn't need to kill anything but mtd -r erase rootfs_data worked. Thanks 2016-07-31T00:06:57.263Z+00:00 0 Reply This answer is useful 4 (This answer is not useful) Save this answer. (Loading when this answer was accepted…) (https://stackoverflow.com/posts/13830865/timeline) Show activity on this post. If you installed the SquashFS image you can run the script firstboot . That will return OpenWrt to the defaults of when you flashed the router. With your serial access just run firstboot and then power cycle the device. (https://stackoverflow.com/a/13830865) (Short permalink to this answer) Share (https://stackoverflow.com/posts/13830865/edit) Improve this answer Follow Follow this answer to receive notifications (https://stackoverflow.com/posts/13830865/revisions) (show all edits to this post) edited (2018-08-26 11:51:34Z) Aug 26, 2018 at 11:51 (https://stackoverflow.com/users/63550/peter-mortensen) (Peter Mortensen's user avatar) (https://stackoverflow.com/users/63550/peter-mortensen) Peter Mortensen (reputation score 31,253) 31.3k (22 gold badges) 22 22 gold badges (110 silver badges) 110 110 silver badges (134 bronze badges) 134 134 bronze badges answered (2012-12-12 00:32:29Z) Dec 12, 2012 at 0:32 (https://stackoverflow.com/users/1506396/saverio-proto) (Saverio Proto's user avatar) (https://stackoverflow.com/users/1506396/saverio-proto) Saverio Proto (reputation score) 1,146 (9 silver badges) 9 9 silver badges (20 bronze badges) 20 20 bronze badges 1 Comment Add a comment (https://stackoverflow.com/users/214281/nafis-ahmad) Nafis Ahmad (https://stackoverflow.com/users/214281/nafis-ahmad) Nafis Ahmad (2014-12-05T22:03:18.717Z) Over a year ago (Edited 1 time) if you have a restart button on the router, you might not need a serial access. please read my answer. 2014-12-05T22:03:18.717Z+00:00 0 Reply This answer is useful 3 (This answer is not useful) Save this answer. (Loading when this answer was accepted…) (https://stackoverflow.com/posts/12420804/timeline) Show activity on this post. If you enabled it as a DHCP client then your router should get an IP address from a DHCP server. If you connect your router on a net with a DHCP server you should reach your router's administrator page on the IP address assigned by the DHCP. (https://stackoverflow.com/a/12420804) (Short permalink to this answer) Share (https://stackoverflow.com/posts/12420804/edit) Improve this answer Follow Follow this answer to receive notifications (https://stackoverflow.com/posts/12420804/revisions) (show all edits to this post) edited (2018-08-26 11:50:43Z) Aug 26, 2018 at 11:50 (https://stackoverflow.com/users/63550/peter-mortensen) (Peter Mortensen's user avatar) (https://stackoverflow.com/users/63550/peter-mortensen) Peter Mortensen (reputation score 31,253) 31.3k (22 gold badges) 22 22 gold badges (110 silver badges) 110 110 silver badges (134 bronze badges) 134 134 bronze badges answered (2012-09-14 08:34:19Z) Sep 14, 2012 at 8:34 (https://stackoverflow.com/users/1611126/pat) (Pat's user avatar) (https://stackoverflow.com/users/1611126/pat) Pat (reputation score) 2,690 (20 silver badges) 20 20 silver badges (28 bronze badges) 28 28 bronze badges 2 Comments Add a comment (https://stackoverflow.com/users/214281/nafis-ahmad) Nafis Ahmad (https://stackoverflow.com/users/214281/nafis-ahmad) Nafis Ahmad (2014-12-05T22:06:28.3Z) Over a year ago if you have a restart button on the router, you might not need to Setup a DHCP server. I tried it did not work. please read my answer. 2014-12-05T22:06:28.3Z+00:00 0 Reply (https://stackoverflow.com/users/2610613/rbennell) rbennell (https://stackoverflow.com/users/2610613/rbennell) rbennell (2018-01-30T16:38:20.81Z) Over a year ago 5 years on from your answer, this is what i did. i mean, i worked it out for myself, but you can still have the up vote anyway because i'm happy it works :D 2018-01-30T16:38:20.81Z+00:00 1 Reply Start asking to get answers Find the answer to your question by asking. (https://stackoverflow.com/questions/ask) Ask question Explore related questions (https://stackoverflow.com/questions/tagged/configuration) (show questions tagged 'configuration') configuration (https://stackoverflow.com/questions/tagged/reset) (show questions tagged 'reset') reset (https://stackoverflow.com/questions/tagged/openwrt) (show questions tagged 'openwrt') openwrt See similar questions with these tags. The Overflow Blog (https://stackoverflow.blog/2026/01/20/don-t-let-your-backend-write-checks-your-frontend-can-t-cache/) Don’t let your backend write checks your frontend can’t cache (https://stackoverflow.blog/2026/01/21/is-that-allowed-authentication-and-authorization-in-model-context-protocol/) Is that allowed? Authentication and authorization in Model Context Protocol Featured on Meta (Meta Stack Exchange) (https://meta.stackexchange.com/questions/416734/community-asks-sprint-announcement-january-2026-custom-site-specific-badges) Community Asks Sprint Announcement – January 2026: Custom site-specific badges! (Meta Stack Exchange) (https://meta.stackexchange.com/questions/416954/ai-assist-recent-updates-january-2026) AI Assist: recent updates (January 2026) (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/437932/all-users-on-stack-overflow-can-now-participate-in-chat) All users on Stack Overflow can now participate in chat (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/421831/policy-generative-ai-e-g-chatgpt-is-banned) Policy: Generative AI (e.g., ChatGPT) is banned (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/437959/stack-overflow-now-uses-machine-learning-to-flag-spam-automatically) Stack Overflow now uses machine learning to flag spam automatically (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/438009/no-i-do-not-believe-this-is-the-end) No, I do not believe this is the end Related (https://stackoverflow.com/questions/29968499/how-can-i-have-multiple-vertical-rulers-in-vs-code) (Question score (upvotes - downvotes)) 1679 (https://stackoverflow.com/questions/29968499/how-can-i-have-multiple-vertical-rulers-in-vs-code) How can I have multiple vertical rulers in VS Code? (https://stackoverflow.com/questions/43967445/luci-openwrt-a-simple-client-mode-setup) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/43967445/luci-openwrt-a-simple-client-mode-setup) Luci (OpenWRT) - A Simple Client Mode Setup (https://stackoverflow.com/questions/30140112/how-can-i-hide-specified-files-directories-e-g-git-in-the-sidebar-visual) (Question score (upvotes - downvotes)) 1096 (https://stackoverflow.com/questions/30140112/how-can-i-hide-specified-files-directories-e-g-git-in-the-sidebar-visual) How can I hide specified files/directories (e.g., .git) in the sidebar? (Visual Studio Code) (https://stackoverflow.com/questions/3602450/where-does-postgresql-store-configuration-conf-files) (Question score (upvotes - downvotes)) 638 (https://stackoverflow.com/questions/3602450/where-does-postgresql-store-configuration-conf-files) Where does PostgreSQL store configuration/conf files? (https://stackoverflow.com/questions/52965789/why-cant-i-access-the-openwrt-web-ui-in-access-point-only-mode) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/52965789/why-cant-i-access-the-openwrt-web-ui-in-access-point-only-mode) Why can't I access the OpenWRT Web UI in Access Point Only Mode? (https://stackoverflow.com/questions/25849188/upnp-discovery-of-philips-hue-from-openwrt-router) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/25849188/upnp-discovery-of-philips-hue-from-openwrt-router) upnp discovery of Philips hue from openWRT router (https://stackexchange.com/questions?tab=hot) Hot Network Questions (Philosophy Stack Exchange) (https://philosophy.stackexchange.com/questions/135438/questions-about-will-in-tractatus-logico-philosophicus) Questions about will in Tractatus Logico-Philosophicus (Mi Yodeya) (https://judaism.stackexchange.com/questions/154855/did-yitzchok-asked-to-be-tied-up-at-the-akeda) Did Yitzchok asked to be tied up at the akeda (Aviation Stack Exchange) (https://aviation.stackexchange.com/questions/114866/qualities-of-air) Qualities of Air (TeX - LaTeX Stack Exchange) (https://tex.stackexchange.com/questions/758557/how-to-change-color-of-equals-sign-without-disturbing-alignment) How to change color of equals sign without disturbing alignment? (English Language & Usage Stack Exchange) (https://english.stackexchange.com/questions/638696/an-indefinite-article-before-a-plural-genitive-noun) An indefinite article before a plural genitive noun more hot questions () (GPP Locator) (https://stackoverflow.com/) (https://stackoverflow.com/) Stack Overflow (https://stackoverflow.com/questions) Questions (https://stackoverflow.com/help) Help (https://chat.stackoverflow.com/?tab=explore) Chat (https://stackoverflow.co/) Business (https://stackoverflow.co/internal/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=teams) Stack Internal (https://stackoverflow.co/data-licensing/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=data-licensing) Stack Data Licensing (https://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=advertising) Stack Ads (https://stackoverflow.co/) Company (https://stackoverflow.co/) About (https://stackoverflow.co/company/press/) Press (https://stackoverflow.co/company/work-here/) Work Here (https://stackoverflow.com/legal) Legal (https://stackoverflow.com/legal/privacy-policy) Privacy Policy (https://stackoverflow.com/legal/terms-of-service/public) Terms of Service (https://stackoverflow.com/contact) Contact Us Your Privacy Choices (https://policies.stackoverflow.co/stack-overflow/cookie-policy) Cookie Policy (https://stackexchange.com/) Stack Exchange Network (https://stackexchange.com/sites#technology) Technology (https://stackexchange.com/sites#culturerecreation) Culture & recreation (https://stackexchange.com/sites#lifearts) Life & arts (https://stackexchange.com/sites#science) Science (https://stackexchange.com/sites#professional) Professional (https://stackexchange.com/sites#business) Business (https://api.stackexchange.com/) API (https://data.stackexchange.com/) Data (https://stackoverflow.blog/?blb=1) Blog (https://www.facebook.com/officialstackoverflow/) Facebook (https://twitter.com/stackoverflow) Twitter (https://linkedin.com/company/stack-overflow) LinkedIn (https://www.instagram.com/thestackoverflow) Instagram Site design / logo © 2026 Stack Exchange Inc; user contributions licensed under (https://stackoverflow.com/help/licensing) CC BY-SA . rev 2026.1.21.38855 By continuing to use this website, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our (https://policies.stackoverflow.co/stack-overflow/cookie-policy/) Cookie Policy . By exiting this window, default cookies will be accepted. To reject cookies, select an option from below. Necessary cookies only Customize settings